New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR CODE:PE102 / currency problems #9
Comments
Hi, Our module is not designed to convert currencies at the time of purchase, what whatever currency (USD, PEN, etc) is passed to our extension by the magento cart is what we will attempt to charge in. What it sounds like is that Magento is either not converting the currency correctly, or not passing us the updated currency. I would recommend reaching out to the Magento support for assistance with this, as We believe that the problem is coming from their system |
Thanks Jacob, When I make the purchase in PEN, Magento displays before jumping to 2CO: "Your credit card will be charged for: $ XX.XX". $ XX.XX is the dollar value, which is fine. What I understand from your post is that your extension does not send any monetary value to 2CO, right? Magento calculation does well even shown before going to 2CO, but does not send that value but surely the value PEN to 2CO. I thought that too did the extension because by default Magento sends nothing to 2CO if not with this extension installed. |
I solved the problem by changing these two lines of code in /app/code/local/Twocheckout/Api/Model/PayPal.php line 53: $ amount = round ($ order-> getBaseGrandTotal (), 2); line 59: "currency_code" => $ order-> getBaseCurrencyCode () |
Hi, I have a store with USD base currency. I display prices in PEN. When a customer shops in PEN, the checkout page shows a “total to be charged to your credit card” in USD, which is correct. However, the 2Checkout receiving PEN and show ERROR CODE:PE102. (When the purchase is in dollars, everything works fine.)
So even though it appears that the amount will be charged in dollars actually the amount sent seems to be that of another currency. What could be happening?
The text was updated successfully, but these errors were encountered: