Invalid sdk meta
I'm working on integrating the smart buttons on the front-end, and I have the PayPal SDK included:
And it is loaded correctly.
However, when I click on the PayPal button, the modal window comes up with the spinning progress indicator, and if I look in Developer Tools (Chrome), I see this HTTP 400 error response:
Invalid sdk meta: eyJ1cmwiOiIvL3d3dy5wYXlwYWwuY29tL3Nkay9qcz9jbGllbnQtaWQ9QVZnM3dtUDZYMElJTTVTRFhITFRpWHhkTjdfQzdaQmltX3d5Y1FnZzlXc0xRdzZQNnBiYXJzZ0pjQUQzRVhCYmp2YXZmX0RuOExzam5EbG8mZGlzYWJsZS1mdW5kaW5nPWNyZWRpdCxjYXJkIiwic3RhZ2VIb3N0Ijoid3d3LnNhbmRib3gucGF5cGFsLmNvbSIsImFwaVN0YWdlSG9zdCI6Ind3dy5zYW5kYm94LnBheXBhbC5jb20ifQ
This error message is happening when this URL is requested: https://www.sandbox.paypal.com/smart/buttons
I notice that there is a query parameter on this URL: sdkMeta
When I remove this parameter from the 'buttons' URL, the request seems to work fine. Since I'm not the one populating the that URL (the 'buttons' URL) i can't really do anything about this.
I followed the directions: https://developer.paypal.com/docs/checkout/integrate/#2-add-the-paypal-script-to-your-web-page
I'm not sure if i'm missing anything, any guidance would be appreciated!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Paypal Multi-order shipment problem: Invalid value for: AddressID: '' Correct input in Shipping (Archive)
- Invalid Value: AddressID: "Invalid input error when trying to create a new order? in Shipping (Archive)
- I'm not receiving a response from Paypal's IPN Sandbox in Merchant services (Archive)
- Payflow Link / Magento integration in Merchant services (Archive)