Both in Sandbox mode and in Live mode, I can get Paypal Express to work perfectly when using the User/Pass/Signature credentials from my PP Business account.
Paypal REST API Does Not
When I use the API credentials for a new app I created for Paypal REST I can’t get it to work on either Sandbox or Live.
There are no errors at the Paypal end according to their logging.
In both versions of testing, I see a similar error relating to sending the wrong currency being sent in Safari’s Console.
Expected currency from order api call to be USD, got AUD. Please ensure you are passing currency=AUD to the sdk url.
What it means
This error occurs when you are using the /payments endpoint and are not passing the currency code in the initialization of the Web Drop-in or Component. The amount object must include a currency. For example:
Came here with same issue. I have a USD as primary currency in Paypal. Default currency is set to EUR in invoice ninja (because i normally collect cash)
If i generate EUR invoice in Invoice Ninja, the paypal module doesn’t work with above error.
I changed Client currency to USD and it works.
In paypal i have a EUR and USD balance
with this setting enabled: “Accept all payments without converting the currency, either adding to an existing balance or creating a new holding currency where needed.”