• Resolved m00n3east

    (@m00n3east)


    Hi,

    yesterday, the plugin was updated to version 5.0.1, and it stopped working i.e. it now gives an error Could not initiate PayPal Checkout…{}, which is followed by another Error occurred during PayPal checkout process, with a huge code (9952 characters long!). All PayPal API Credentials for PPCPs are checked and valid. I then went to check the shortcode, and it turns out that if the currency is set to EUR or GBP, it gives the error I mentioned above, but when I change it to USD, the plugin works fine, and it sends me to PayPal without any problems. Any idea what is going on and how to deal with this, since I don’t use USD as a currency on the website?

    Thanks in advance!

    • This topic was modified 8 months ago by m00n3east.
    • This topic was modified 8 months ago by m00n3east. Reason: corrections

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter m00n3east

    (@m00n3east)

    Update: I kept looking around for a solution, and it turns out that if under General Settings > Choose Payment Currency I choose Euro, then only the widget for payments in Euro will work. The same happens if I choose Pound Sterling, then only the widget for payments in British pounds will work.

    BUT, and this is really weird, this is only happening when I’m logged into the site. When I log out, neither euro nor sterlling widgets work.

    It’s really confusing and I would appreciate any help. Thank you!

    • This reply was modified 8 months ago by m00n3east.
    Plugin Author mra13

    (@mra13)

    Hi, Please copy and paste the shortcode that you are using so I can check it out.

    Thread Starter m00n3east

    (@m00n3east)

    Hi, thank you for a quick reply! Here it is (sorry, I forgot to include it in the first post):

    [wp_paypal_payment_box email=”[email protected]” options=”Individuals £:15.00|Institutions £:25.00|Students £:10.00″ currency=”GBP” new_window=”1″]

    The other one is the same, except it uses currency=”EUR”.

    Plugin Author mra13

    (@mra13)

    Thank you for sharing the shortcode. The new PayPal API doens’t have an option to have multiple different widgets with different currency codes on the same page. The currency code is loaded in the SDK so only one currency code can be used per page. I have updated the plugin so the currency code is always taken from the settings menu (to make sure there is no mismatch which was causing the issue on your site).

    Please update the plugin when you can.

    Thread Starter m00n3east

    (@m00n3east)

    Thank you for the reply and thank you for the update!
    So basically, it is not possible to have widgets with different currencies anymore, at all, because of the new PayPal API? I guess I’ll have to find another solution then.

    Again, thank you very much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin only works ift he currency is set to USD’ is closed to new replies.