Smart Buttons Integration Issue
pcameron602
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Apr-19-2020
10:22 PM
I'm trying to integrate the Smart Buttons Javascript SDK into my application as per the documentation. When I click on the PayPal or the Credit Card button, I get, "Failed to load resource: the server https://www.sandbox.paypal.com/v2/checkout/orders responded with a status of 400 (Bad Request)". I've supplied my Client ID where it pulls-in the SDK
(src="https://www.paypal.com/sdk/js?client-id=SB_CLIENT_ID">), but how do I supply the Secret? Also, where does the SDK handle the CORS headers?
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
- Using Paypal Smart Buttons for checkout sometimes fails with Debit/ Credit Cards Form in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Change the button from Sandbox to Production in REST APIs
- Issue with Rendering Trustly Payment Button via PayPal JavaScript SDK in SDKs
- Need help to integrate PayPal Checkout Advanced (PPCP) with WooCommerce in PayPal Upgrade Community
- How to integrate paypal smart buttons on cart page? in REST APIs