Can’t enable sandbox to live api

Josephr2
New Community Member
Hi we have problem with the paypal api, is the second time contacting paypal for this issue.. User can pay on our website, we cant received PROFIT Got Http response code 401 when accessing https://api.paypal.com/v1/oauth2/token. I followed https://github.com/paypal/PayPal-PHP-SDK/wiki/Going-Live CANT GO LIVE Can you please check the demo video how paypal is working on the websitetn: https://nextpost.company/paypal-video/Paypal-api.mp4 I need go live. Please take a minute and help us to resolve this issue.
Login to Me Too
1 REPLY 1

MTS_Justin
Moderator
Moderator
Hello,

In the video you provided, you're copying the sandbox client_id and client_secret from your REST application and pasting them into your e-commerce solution, but the environment shows as "LIVE", so transactions won't work with those credentials.

You need to go to the REST application details, click on the "LIVE" tab and then copy and paste the client_id and client_secret from the "LIVE" section of the REST application and paste them into your e-commerce solution. I highly recommend not making a video showing these credentials for obvious reasons.

In regards to enabling payouts, this is enable by default for all sandbox accounts, but for production usage the functionality is not automatically available. You need to contact our customer service team to determine if your account is eligible to use this functionality.

Thanks !

Was my post helpful? If so, please give me a kudos!
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.