cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 with PayPal Payments Pro - Wrong currency

SOLVED

Magento 2 with PayPal Payments Pro - Wrong currency

I'm trying to setup PayPal Payments Pro on my M2 website and after much (okay, a lot) of playing around, I got it working to some extent.
 
Customers can now pay directly on my website but when they do, it charges in USD, not CAD.
 
I can confirm that my currency is set to Canadian dollars so I'm not sure why it's charging in USD. Any ideas? 
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 2 with PayPal Payments Pro - Wrong currency

As mentioned on the Magento Bug tracking website, it has been confirmed that this is a bug and has been resolved with version 2.1.4 (released today)

View solution in original post

6 REPLIES 6

Re: Magento 2 with PayPal Payments Pro - Wrong currency

I am having the exact same issue. In my reports I see USD as the currency. (If you chance your gateway to payflow link, the correct currency shows.)

 

I am curious how you got it all to work to process the payment, I am getting an Invalid merchant information error (10501) on the paypal end. I talked with paypal and they told me its some setting in Magento that is preventing paypal from sending confirmation back to magento.

 

Can you share your settings please (minus your confidential details of course). Thanks 

Re: Magento 2 with PayPal Payments Pro - Wrong currency

@jackkros

Thanks for letting me know. Unfortunately, I'm trying to find a payment method that allows me to type in the credit card information from the admin side.

 

After further diagnosing, I found in the debug logs that Magento isn't passing the "currency" when doing the API call.

 

As for setting up the merchant ID, you will find it under your paypal profile, and it shows a the bottom of the "My business info" screen. Hope that helpsScreen Shot 2017-02-06 at 6.20.07 PM.png

Re: Magento 2 with PayPal Payments Pro - Wrong currency

Cool. I spent another few hours on the phone with Paypal. We narrowed this down to, as you have already found out, not sending the correct currency code and also sending a 0 payment amount. So paypal has nothing to process since the total is 0 and throws an error. This is entirely an internal Magento 2 issue. Happens on both the Website Payments Pro and Payflow Pro platforms. Its rather a critical problem as a tone of people use Paypal as their payment processor. 

 

I don't know where to turn to to have this addressed. 

 

 

Re: Magento 2 with PayPal Payments Pro - Wrong currency

@jackkros

I hear ya! I went live with out new M2 website only to discover this bug and have to revert back (awkwardly after 2 orders were placed online Smiley Frustrated).

 

From my research, the only people who are having this issue happen to be charging in CAD funds and no other currency. This may be coincidental but it's something I've noted anyway.

 

I sent you a private message asking what plugins you use because maybe there is a common plugin that we (Canadian's) use that happen to be interfering with the payment. It's a "stab in the dark" but...I thought it might be worth a try.

Re: Magento 2 with PayPal Payments Pro - Wrong currency

As I mentioned in the pm to you, It appears we do not share any plugins that we could narrow this issue to. 

 

It must be the way the api is configured for PayPalCA, it may be taking the default settings for Paypal Payments PRO (American one) and applying them to Website Payments PRO (The Canadian Iteration). So it's passing the wrong information to Paypal ie. USD, and because it's sending USD instead of CAD the total transaction value is then zero because no CAD is being sent but USD? It's all conjecture but it may be the case. (Github my user name is jackkros I see you answered there).

Re: Magento 2 with PayPal Payments Pro - Wrong currency

As mentioned on the Magento Bug tracking website, it has been confirmed that this is a bug and has been resolved with version 2.1.4 (released today)