Jump to content

yahalimu

Members
  • Content count

    391
  • Joined

  • Last visited

  • Days Won

    1

yahalimu last won the day on November 10 2019

yahalimu had the most liked content!

Profile Information

  • Real Name
    iain
  • Gender
    Male
  • Location
    Samsara

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. yahalimu

    NEW! Complete Order Editing Tool!

    Hi, I don't think the discount issue has been reported previously so I doubt its been addressed but I'm in a similar situation. It doesn't handle discounts and the totals go out when any changes are made. If a product, for example, is changed it recalculates the order totals. BUT 1) The new TAX is calculated ignoring the discount. 2) The new order total uses this Tax amount but also ignores the discount line. Where in the code does it re-calculate the totals? Couldn't find it.
  2. Any further progress with Xero & OsC? Would be nice to import invoices/customer & product details. I have this working OK with QB on Phoenix and am told we need to move to Xero but without this functionality I'm not keen.
  3. yahalimu

    NEW! Complete Order Editing Tool!

    Hi, Probably not using the most up to date version, but on Phoenix 1.0.5.0 if there is a discount value (i.e. using a discount code addon) it doesn't seem to handle the tax/order total values correctly when re-calculating. Works perfectly if not. Might be worth catering for this for any future update.
  4. yahalimu

    NEW! Complete Order Editing Tool!

    Plus many references to unused code.. An easy project though if that was all you had to do...
  5. yahalimu

    NEW! Complete Order Editing Tool!

    I think this is an example of much adapted code. It needs cleaning up. I had to switch off payment dropdown to stop warnings in 1.0.5.1.
  6. yahalimu

    NEW! Complete Order Editing Tool!

    Not sure about the first one, I only had to add a language definition for the telephone number. As for the second try: $value_id = sew_get_products_options_values_id($option_id,$attributes['products_options_values'],0,$products['products_id']);
  7. yahalimu

    NEW! Complete Order Editing Tool!

    Yep, use: if (class_exists($class)) { $module = new $class; instead
  8. yahalimu

    NEW! Complete Order Editing Tool!

    I installed a version from here.. https://apps.oscommerce.com/wwEZ9&order-editor-for2-3-v1-0 Went in fine on 1.0.5.1 except for a call to a wrapper function (if class exists) which needs changing to call the base function. A few notices/warnings to fix maybe but it works OK on my installation, especially if you disable the payment drop down, which caused a few warnings about constants not defined etc.. Theres also a depreciated function that needs changing soon.
  9. yahalimu

    NEW! Complete Order Editing Tool!

    I echo the above, 1.0.5.1 broke the version of this code I eventually got working for Phoenix.
  10. yahalimu

    Advice needed on shipping module

    Yes I would use Redirect (Hosted Payment Page) Remote is something diferent, needs much more code.
  11. yahalimu

    Advice needed on shipping module

    Pleased it worked out. Global Payments (ex-realex) is used by HSBC here in UK, surprised its not requested more. The stock code supplied, as I said before, was full of typos but was not written by Global Payments. Hope they didn't pay them too much...
  12. yahalimu

    Advice needed on shipping module

    You need to tell them you are using MD5 not SHA. In UK at least you can use either so I kept mine as MD5.
  13. yahalimu

    Advice needed on shipping module

    Hello, They should be able to supply you with documentation about sand box. See below.. HPP has two separate URLs for Sandbox and Production. When you first create an account with Global Payments, your account will be set to sandbox mode. We recommend that you process several transactions in this mode to confirm you are happy with how they are processing before setting your account live. <!-- URL for Production transactions --> https://pay.realexpayments.com/pay <!-- URL for Sandbox transactions --> https://pay.sandbox.realexpayments.com/pay I suggest you change to URL in the realex.php file to https://pay.sandbox.realexpayments.com/pay and see that it works. (Line 27 & 29, two URL's because they used to have a separate URL for mobile which they do not any more) When all OK they will then make your account 'Live' when you ask and you then change the URL back again. You could replace: if ( defined('MOBILE_SESSION') || (tep_session_is_registered('mobilesession') && !tep_session_is_registered('MredirectCancelled')) ) { $this->form_action_url = 'https://pay.realexpayments.com/pay'; } else { $this->form_action_url = 'https://pay.realexpayments.com/pay'; } with: $this->form_action_url = 'https://pay.realexpayments.com/pay'; OR $this->form_action_url = 'https://pay.sandbox.realexpayments.com/pay'; for the sandbox URL
  14. yahalimu

    Advice needed on shipping module

    I think that is correct, accents are not allowed. I will PM you their tech support telephone number, they take ages to do emails sometimes.
  15. yahalimu

    Advice needed on shipping module

    Hello, If you ring Global Payments tech support they will tell you what the invalid character is. It should just be your store name in there but they will tell you if you give them your merchant number. What version of OSCommerce are you using? STORE_NAME should be defined.
×