贝宝REST API - 立即付款续航时间 [英] Paypal Rest API - Immediate Payment life time
问题描述
我没有找到关于意图买卖支付续航时间的任何信息。如果用户通过关闭窗口贝宝取消付款,那么我就应该禁止时通过查找通过API支付继续支付和重定向他批准的URL。但是这仅适用于一定的时间跨度。我体健查找从昨天付款,响应告诉我关于创造的付款状态,但重定向到approve_url PayPal的网站后说:
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:
的 您的会话已经结束。
本次交易已过期。请返回到收件人的网站使用他们定期结帐流程完成交易。的
我想我应该建立在这种情况下新的付款。不过多久我应该创建一个新的付款前等待,因为随着年龄的支付。 - ?可以说,大约1个小时仍然有效。
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
推荐答案
用户有三个小时的批准宝付款必须创建一个新的付款。
The user has three hours to approve of the PayPal payment before a new payment must be created.
这篇关于贝宝REST API - 立即付款续航时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!