Paypal Express Checkout not working with production credentials
prakash_reddy
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jan-14-2018
08:05 PM
I have a paypal express checkout button that is working fine with the sandbox account but when I switch to production the payment is not going through, instead after logging in through paypal it says 'Return to Merchant'. The registered business account is verified and I can see api calls being received in dashboard.
paypal.Button.render({ env: "production", // sandbox | production client: { sandbox: /* sandbox client id */ production: /* production client id */ }, payment: function (data, actions) { return actions.payment.create({ payment: { transactions: [ { amount: {total: '1', currency: 'USD'} } ] } }); }, onAuthorize: function (data, actions) { return actions.payment.get().then(function (data) { console.log(data) }); } }, '#paypal-button-container');
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Problems with client-side PayPal Express Checkout implementation in About Business
- Incoming JSON request does not map to API request - paypal SDK LIVE mode error php in About Business
- Sandbox app error "We're sorry. We can't complete your purchase at this time" with no code change. in About Payments
- SOAP API credentials for PayPal Express Checkout integration in About Business
- express checkout client side REST - security and database issue in About Business