Smart Buttons Integration Issue

pcameron602
Contributor
Contributor

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?

Login to Me Too
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.