Paypal Rest API - Immediate Payment life time

筅森魡賤 提交于 2019-12-23 17:51:16

问题


i didn't find any information about life time of payments with intent "sale". If a user cancel's payment by closing the paypal window, then i should be abled to continue payment by looking up the payment via api and redirect him to the approval url. But this works only for a certain time span. I'm abled to look up payments from yesterday, the response tells me about a payment state of "created" but after redirection to the approve_url paypal's website says:

Your Session has ended. This transaction has expired. Please return to the recipient's website to complete your transaction using their regular checkout flow.

I guess i should create a new payment in that case. But how long should i wait before creating a new payment, because payments with age.. - lets say about 1 hour are still valid?

TIA


回答1:


The user has three hours to approve of the PayPal payment before a new payment must be created.



来源:https://stackoverflow.com/questions/18592901/paypal-rest-api-immediate-payment-life-time

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