Error with Subscription in sandbox Error: TOKEN_FAILURE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Suddenly today Paypal subscription in sandbox returned javascript exception:
Error: TOKEN_FAILURE
at https://www.sandbox.paypal.com/smart/buttons?style.label=paypal&style.layout=horizontal&style.color=...
One-time payment is working fine.
Request: POST https://www.sandbox.paypal.com/smart/api/billagmt/subscriptions/I-VPB47X1U6SJB/cartid
Response code: 400
Server response:
{"ack":"contingency","contingency":"TOKEN_FAILURE","meta":{"calc":"e565b6e6c2745","rlog":"rZJvnqaaQhLn%2FnmWT8cSUueWscmrtUHe5Y1Bd%2FeqyvyOTq66rSXAciiXRg7dClMl1o2iporwJbYz7mI0k8X%2B5rx9VK7gkS6f_18425ea8808"},"server":"5wY-t7fohAY26711EJYwsXwJv28WPRQUWLq8zTSTjOsY7mFnfPBqbotTn8hWkv65ccn1zuJ9R9wYYVYvqHbJ9ojt0VB7MD3uoDGJs6f-GIcxndmZlz-ocO4pJbe5S_695d7nlkv8AsS5DSfGmwW4DmRw3aDvCqMBfpgxsV-gWZjxsZgoT1vCOhIQy0zloV1W_C9YKka4G2d8QJguV6vqM9_xca3S277mAMGje7_iNg4PEfEAhyHSCq_IyPpoHguabPPtkqkwsQVkVvrdwZ0bTu6oTe7lS29CamGrJT84PdnpqnD9BuBHz0"}
There are more users with this error (all users noticed this error today).
https://github.com/paypal/paypal-checkout-components/issues/2026
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This surely to be a server-side issue. This error code happens even if I do not use any bsmart buttons or checkout components and just redirect to
rel="approve"
link of subscription object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same problem on [_xclick-subscriptions] button
-----------------------------------------------------------------------
https://www.sandbox.paypal.com/webapps/billing/api/billagmt/createBillingCart
{"ack":"contingency","contingency":"TOKEN_FAILURE","meta":{"calc":"78d6a2e28481e","rlog":"rZJvnqaaQhLn%2FnmWT8cSUo8QXTeqJkzg7PvyMHtc7jDKOWrRoXSCL9sewG1iZt%2BTnk3JFpuhFj0XKOOd%2F1RL2Q_18430d1b20a"},"server":"M4mRXqq_jZ6FvmzZWjY1nYlDio9j20q5B-CkVZzvZgHWmdkBoCv4fv5uFxshWX4-FpmDxbrwPbAovMg5AAJbelPUWxmbEOksgLKbM_8xz7th2TdGmdaOwTCnQkLTNOnoE3gFDTSiaSRL-Ld8nlaax-PSV59IxxBJmqpp9HAbixh3kLcRCB1f_v_p5XDRM4Bg1EtFUGFDOw7XTeV0JS_olOFMF4XFzlEOPsZLvRdYg7DTQ-AP6Wj31x_tV2OUA8HdPOqnK0rd8k8"}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for taking the time to report this issue.
We're aware and the relevant technical teams have been involved to investigate further.
There is a thread where other users also reported the same issue and this has been pinned to the top of the forum. I'll post back in that thread once the issue has been resolved, subscribe to the thread to be notified.
https://www.paypal-community.com/t5/Sandbox-Environment/We-re-sorry-things-don-t-appear-to-be-workin...
Apologies for any inconvenience.
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This issue was resolved in November 2022.
Thanks !
Was my post helpful? If so, please give me a kudos!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Fails to Subscribe with Sandbox Personal Account in Sandbox Environment
- How to pass "amount" using @paypal/react-paypal-js in REST APIs
- No subscription details shown to buyer in their PayPal account in REST APIs
- Let user pick their own own subscription pricing and period? in SDKs
- Generated Subscription Buttons show the Error 500 if clicked in Sandbox Environment