Changes to checkout.js integration in Sandbox environment

not_here
Moderator
Moderator

Beginning today in the Sandbox environment, if a developer is using the client side SDK v4 and passes experience parameters in the request (like no_shipping https://developer.paypal.com/docs/archive/checkout/how-to/customize-flow/#link-passwebexperienceprof...) using only the CLIENT_ID, you will start to see the following issue: 

 

{
"error": "invalid_client",
"error_description": "Client Authentication failed"
}

 

PayPal will begin blocking access using only the CLIENT_ID to the below endpoints:     

  • POST: /v1/payment-experience/web-profiles
  • GET: /v1/payment-experience/web-profiles

PayPal will continue to support this deprecated checkout.js integration for all merchants who integrated before July 26, 2022, but all new merchants/developers should integrate with the JS SDK.

 

For existing direct merchants/developers making server-side calls to the APIs in the live environment, you should not see an impact. PayPal does recommend that the existing integration is upgraded to v5to reduce any future impacts. 

Login to Me Too
3 REPLIES 3

Jay-PC
Contributor
Contributor

So... if we are seeing this because we are "only passing the client_id... then what else do we have to pass now? Your message is too cryptic to suggest action. Looking over our code, we see no "CLIENT_ID", but we do a client:{} section with "sandbox" and "production" defined. Do you mean that? If so, please update your post to be clearer. And if we need to add something else, then tell us what to add. We were integrated before the date specified, and yet you appear to be blocking access for us now. Telling us the error we will see isn't a solution. Please expand and provide real actionable info.

Login to Me Too

Jay-PC
Contributor
Contributor

Your link for upgraded to v5 (https://developer.paypal.com/docs/checkout/standard/upgrade-integration/%C2%A0) is broken in the post. Please fix.

Login to Me Too

not_here
Moderator
Moderator

Thanks for letting me know, here's a link to the not broken docs: https://developer.paypal.com/docs/checkout/standard/upgrade-integration/. I'll get you a more tangible answer to what to do specifically. 

 

 

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.