billing agreement token lifetime

拜拜、爱过 提交于 2020-01-16 04:55:07

问题


When I create an agreement for paypal payment, it return the REDIRECT link with a token.

The user must connect to paypal via this link and accept agreement, then I can execute agreement.

I want to know, how long the REDIRECT link (and its assoicated token) is valid ? I ask because I want top precompute agreement and put them in cache, so If user want to subscribe I use a cached REDIRECT link and it's fast. Create agreement call take 2 seconds, it's too long, speed is critical at checkout stage.

I use the REST API + Java.


回答1:


Express Checkout tokens (which is what REST API returns for the Billing Agreement calls) expire after 3 hours.



来源:https://stackoverflow.com/questions/32739645/billing-agreement-token-lifetime

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!