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
4 REPLIES 4

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

DRRTech
Contributor
Contributor

Hi, I'm new in the community. We have an issue with our sandbox account when making credit card transactions. We have tested for years without issues but back in December, we got error 10002. After telling us pro was not enabled in our account and we were missing a phone number, etc this was the resolution: "Upon further digging, I have found that the 10002 errors are due to an internal system issue and the PayPal Product Developers are currently looking into this issue. Our engineers will work diligently on a solution to this problem.


This ticket will remain in an "On Hold - Internal" status until you're contacted about the resolution."

 

After a week, we got an email telling us the issue was resolved and we tested and everything was back to normal. However, two weeks ago, we started having the same issue with only credit card testing but this time we got this error: 

Response Message:

Invalid merchant information: 10548-This transaction cannot be processed. The merchant's account is not able to process transactions.

 

We already contacted Merchant support but the person in charge is not helping us much.

I saw you were able to help some people (https://www.paypal-community.com/t5/Sandbox-Environment/ERROR-10548-The-merchant-s-account-is-not-ab...)

The agent first told us the error was because our sandbox account was not pro. We proved it was pro. 

 

Please help..!!

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.