How to move from Sandbox to Live?

jonpp1969
Contributor
Contributor

I created a new business account and had Paypal automatically generate the code for the Paypal buttons.  I integrate the code/buttons into my website and it works fine with the Sandbox accounts.  I can't figure out how to update it for live Production.  If I look in my javascript/html code, I don't see anything that points back to paypal that I can update.  In the Paypal Developer website, in the "My apps & credentials" section, I create an app on the Live tab.  Within those credentials, I see an email id, a client id, and a secret.  I have no idea where to put that into my code.  My code always runs against the Sandbox.  I also saw somewhere in the Help that I also need to point to the Paypal production server instead of the Sandbox, but I wouldn't know where to make that change either.  Paypal phone support said call back during business hours (which it is), Paypal text support said to wait for several hours.  Hope someone out there can help!

 

Thanks!

Jon

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

jonpp1969
Contributor
Contributor

I figured out my issue.  The client id is embedded in the url within the js src string in the auto-generated button code.  When I was using the sandbox, it used: 

 

https://www.paypal.com/sdk/js?client-id=sb&enable...

 

I didn't realize sb meant sandbox at first.  All I had to do was replace sb with my client id that gets generated when I create the app and it worked.  That's what I couldn't find online.

View solution in original post

Login to Me Too
2 REPLIES 2

thierryler
Contributor
Contributor

In Dashboard / My app and credentials, switch from sandbox to live and here add a new app.

Login to Me Too
Solved

jonpp1969
Contributor
Contributor

I figured out my issue.  The client id is embedded in the url within the js src string in the auto-generated button code.  When I was using the sandbox, it used: 

 

https://www.paypal.com/sdk/js?client-id=sb&enable...

 

I didn't realize sb meant sandbox at first.  All I had to do was replace sb with my client id that gets generated when I create the app and it worked.  That's what I couldn't find online.

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.