Failed Orders with Mixed Currency Error for PayPal
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from crystaltm on May 3, 2023, 20:32Hi team,
I'm jumping in here for Megan from Mad Creations (https://madcreationshub.com/) on this ticket: https://pluginus.net/support/topic/mixed-currencies-failed-orders/
We've had several PayPal orders fail on the site due to the mixed currency issue at the PayPal Gateway for orders in USD; AUD is set as the default.
Not all orders through PayPal in USD fail. I do see some that have gone through.
This started happening after switching from PayPal Standard to the new PayPal Payments.
WooCommerce: 7.6.1
WooCommerce PayPal Payments: 2.0.4
FOX - Currency Switcher: 1.4.0
The setting following settings are set:
- Is multiple allowed: Yes
- Currency storage: FOX Session
- I am using cache plugin on my site: Enabled
- GEOIP is on
The site has both WP Rocket and Cloudflare cache. I see you say caching may be the issue. What do you mean by this?
The PayPal button shows up on the product, cart, and checkout.
After reading the error code, it seems like this is in the PayPal payload where the product "purchase_units > amount > currency_code" is different than the currency for payment that is sent.
I ran through a purchase on the site and see a POST error for api2.amplitude.com/2/httpapi with the URL that starts with "https://www.paypal.com/smart/buttons?" and contains "
currency=USD" so it seems to be set correctly here but maybe not at the "purchase_units" level?
Hi team,
I'm jumping in here for Megan from Mad Creations (https://madcreationshub.com/) on this ticket: https://pluginus.net/support/topic/mixed-currencies-failed-orders/
We've had several PayPal orders fail on the site due to the mixed currency issue at the PayPal Gateway for orders in USD; AUD is set as the default.
Not all orders through PayPal in USD fail. I do see some that have gone through.
This started happening after switching from PayPal Standard to the new PayPal Payments.
WooCommerce: 7.6.1
WooCommerce PayPal Payments: 2.0.4
FOX - Currency Switcher: 1.4.0
The setting following settings are set:
- Is multiple allowed: Yes
- Currency storage: FOX Session
- I am using cache plugin on my site: Enabled
- GEOIP is on
The site has both WP Rocket and Cloudflare cache. I see you say caching may be the issue. What do you mean by this?
The PayPal button shows up on the product, cart, and checkout.
After reading the error code, it seems like this is in the PayPal payload where the product"purchase_units > amount > currency_code" is different than the currency for payment that is sent.
I ran through a purchase on the site and see a POST error for api2.amplitude.com/2/httpapi with the URL that starts with"https://www.paypal.com/smart/buttons?" and contains"
Quote from Pablo Borysenco on May 4, 2023, 10:12Hello
can you drop me wp-admin+FTP to your test site - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png
Hello
can you drop me wp-admin+FTP to your test site - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png
Quote from crystaltm on May 4, 2023, 22:50Hi Pablo,
I sent the credentials. Let me know what you find.
Thanks,
Crystal
Hi Pablo,
I sent the credentials. Let me know what you find.
Thanks,
Crystal
Quote from Pablo Borysenco on May 5, 2023, 15:15Hello Crystal
I disabled wp-rocket and everything works correctly.
so it looks like the currency is cached for paypal requests
I added product pages to the exception - https://share.pluginus.net/image/i20230505161502.png - everything seems to work correctly, try to make tests
Hello Crystal
I disabled wp-rocket and everything works correctly.
so it looks like the currency is cached for paypal requests
I added product pages to the exception - https://share.pluginus.net/image/i20230505161502.png - everything seems to work correctly, try to make tests
Quote from crystaltm on May 5, 2023, 17:26Hi Pablo,
Thanks for looking into this! Is there any way to be more specific to avoid this issue? What specifically is being cached? Is this a cookie or query?
Hi Pablo,
Thanks for looking into this! Is there any way to be more specific to avoid this issue? What specifically is being cached? Is this a cookie or query?
Quote from Pablo Borysenco on May 8, 2023, 09:42Hello
I think the object is cached.
Is there any way to be more specific to avoid this issue? - Do not cache pages with paypal button
Hello
I think the object is cached.
Is there any way to be more specific to avoid this issue? - Do not cache pages with paypal button