Billing agreement - Invalid Payment Token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Integrated PayPal node sdk and creating billing agreement on checkout. Everything is working fine and getting token as well on billing agreement acceptance by buyer. If I execute billing agreement withing couple of hours then it is working fine.
But business requirement is need to execute billing agreement after seller's approval. So I am storing the token received by billing agreement acceptance by buyer and executing the billing agreement when seller approve the order. Seller might approve 1 days after or 3 days after just an example:
But if seller trying to approve order next day and I am executing the billing agreement getting error:
""{\"name\":\"PAYMENT_TOKEN_INVALID\",\"message\":\"Provided Payment Token is Invalid.\",\"information_link\":\"https://developer.paypal.com/docs/api/payments.billing-agreements#errors\",\"debug_id\":\"6e9c3f589e...}""
This is working fine, if seller approve order within couple of hours, but this will not work and need to figure out a way how I can proceed or I can get refresh token. It looks like payment token getting expired after 3 hours. Any suggestions....
Thanks in advance.
- Labels:
-
Mobile SDKs
-
REST SDK
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs
- Load paypal approval_url in popup window using sdk in SDKs
- Ipn PayPal server giving 301 or 302 errors in PayPal Payments Standard
- Direct credit card payment not working in paypal codeigniter in PayPal Payments Standard
- Can I create a Subscription using Vault Payment Method Token in Javascript in REST APIs