How to remove PayPal Buy Now button from sandbox to go live?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I created the new smart Buy Now button and embedded HTML into my website. Looks good... but doesn't work. When I click and try to log in - it doesn't recognize my credentials. Then I noticed the URL starts with "https://www.sandbox.paypal.com/checkoutnow?sessionID....etc." Does it mean my button is in the sandbox? How do I go live? I tried PayPal chat ... but it's useless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
If you create any payments standard button (buy now, add to cart, donation, subscription) in our sandbox environment, it's use is limited to our sandbox environment, you would need to re-create the button within a "live" account using the same settings.
This doesn't apply to smart payment buttons, where you can just substitute the sandbox "client id" for your live "client id" within the button code.
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I just solved a PayPal button/sandbox issue for a client today. If you use the PayPal button generating page (https://www.paypal.com/buttons/), you will most likely need to set up an App in the PayPal Developer Dashboard in order to get a Live Client ID, even if PayPal makes it look like you don't have to do anything else.
Your button script might look different than this one, but this is most likely the source of your problem:
<script src="https://www.paypal.com/sdk/js?client-id=sb&enable-funding=venmo¤cy=USD" data-sdk-integration-source="button-factory"></script>
That "sb" stands for sandbox.
Here's what we did:
- Go to the PayPal Developer Dashboard: https://developer.paypal.com/developer/applications
- Click on "My Apps & Credentials" (if you're not already there after logging in)
- Make sure the toggle at the top of the page is set to "Live"
- Click "Create App"
- Give the app a name, then click "Create App"
- Use the Client ID that displays for this app to replace the "sb" in your button script.
- The script tag my client had delivered to me using the PayPal button generator looked like this:
<script src="https://www.paypal.com/sdk/js?client-id=sb&enable-funding=venmo¤cy=USD" data-sdk-integration-source="button-factory"></script> - Afterward, it looked like this:
<script src="https://www.paypal.com/sdk/js?client-id=YOURCLIENTIDHERE&enable-funding=venmo¤cy=USD" data-sdk-integration-source="button-factory"></script>
- The script tag my client had delivered to me using the PayPal button generator looked like this:
Again, I could not find this ANYWHERE in PayPal's documentation, but it worked for me. I hope this helps.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Sandbox account collect billing and shipping address in Sandbox Environment
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- Things don’t appear to be working at the moment in PayPal Payments Standard
- Something went wrong. Contact the merchant for help. in PayPal Payments Standard
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment