UNSUPPORTED_PAYEE_CURRENCY while integrating paypal smart button.

App2
New Community Member

Hey, We integrated paypal smart button (client side), everything works well in sandbox environment. But in live mode they return an error saying:

{
"errors": [
{
"message": "UNSUPPORTED_PAYEE_CURRENCY",
"path": [
"approveGuestPaymentWithCreditCard"
],
"stack": "Error: UNSUPPORTED_PAYEE_CURRENCY\n at /dependencies/xobuyernodeserv/cronus/scripts/node_modules/xo-hermes-checkout/src/apis/session/index.js:314:39\n at /dependencies/xobuyernodeserv/cronus/scripts/node_modules/app-shims/lib/promise-checkpoints.js:107:51\n at bound (domain.js:402:14)\n at runBound (domain.js:415:12)\n at tryCatcher (/dependencies/xobuyernodeserv/cronus/scripts/node_modules/xo-shim-promise/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/dependencies/xobuyernodeserv/cronus/scripts/node_modules/xo-shim-promise/node_modules/bluebird/js/release/promise.js:547:31)\n at Promise._settlePromise (/dependencies/xobuyernodeserv/cronus/scripts/node_modules/xo-shim-promise/node_modules/bluebird/js/release/promise.js:604:18)\n at Promise._settlePromise0 (/dependencies/xobuyernodeserv/cronus/scripts/node_modules/xo-shim-promise/node_modules/bluebird/js/release/promise.js:649:10)\n at Promise._settlePromises (/dependencies/xobuyernodeserv/cronus/scripts/node_modules/xo-shim-promise/node_modules/bluebird/js/release/promise.js:725:18)\n at _drainQueueStep (/dependencies/xobuyernodeserv/cronus/scripts/node_modules/xo-shim-promise/node_modules/bluebird/js/release/async.js:93:12)\n at _drainQueue (/dependencies/xobuyernodeserv/cronus/scripts/node_modules/xo-shim-promise/node_modules/bluebird/js/release/async.js:86:9)\n at Async._drainQueues (/dependencies/xobuyernodeserv/cronus/scripts/node_modules/xo-shim-promise/node_modules/bluebird/js/release/async.js:102:5)\n at Immediate.Async.drainQueues (/dependencies/xobuyernodeserv/cronus/scripts/node_modules/xo-shim-promise/node_modules/bluebird/js/release/async.js:15:14)\n at Immediate._onImmediate (/dependencies/xobuyernodeserv/cronus/scripts/node_modules/async-listener/glue.js:188:31)\n at runCallback (timers.js:720:18)\n at tryOnImmediate (timers.js:691:5)\n at processImmediate (timers.js:673:5)\n at process.topLevelDomainCallback (domain.js:126:23)",
"checkpoints": [
"createCheckoutSession"
],
"meta": {},
"errorData": {
"step_up_context": {}
},
"contingency": true,
"statusCode": 200
}
],
"data": {
"approveGuestPaymentWithCreditCard": null
},
"extensions": {
"correlationId": "6876f9a87a857"
}
}

We have USD as our primary currency and we are expecting payments in USD. Any help into this will be appreciated. Thanks a lot in advance.

Login to Me Too
1 REPLY 1

MTS-Aaron
PayPal Employee
PayPal Employee

Hi @App2 

 

This is definitely a curious error. Could you possibly provide some of the code from the Smart Payment Button? Don't include any credentials or signatures, but the variables of the button might be helpful to determine just what is happening.

 

Thanks,

-Aaron

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.