• Resolved derrynj

    (@derrynj)


    It’s already been reported on GitHub.
    After clicking a PayPal button, the browser console shows the following:

    Error: Unexpected currency: AUD passed to order.create. Please ensure you are passing /sdk/js?currency=AUD in the paypal script tag.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author davidfcarr

    (@davidfcarr)

    I’m jammed with a crisis with one of my own web projects and may not get to this for a while, sorry.

    Thread Starter derrynj

    (@derrynj)

    No worries. I have posted a workaround in the comments on Github issue page.
    Essentially PP expects the currency in the initial post link, and not in the API call. I simply added my currency parameter to the end of the link (after the client ID).
    I’d imagine a proper fix would be more involved, I wish I had the time and skill to fix it myself. My hat goes off to you for building the plugin!

    Cheers.

    Plugin Author davidfcarr

    (@davidfcarr)

    This should be resolved with release 9.7.7. Notes here https://github.com/davidfcarr/rsvpmaker/issues/13

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PayPal API – Currency other than USD doesn’t work’ is closed to new replies.