PayPal快速结帐处理“待付款"使用IPN [英] PayPal express checkout handling "pending payments" with IPN

查看:89
本文介绍了PayPal快速结帐处理“待付款"使用IPN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到关于此的任何清晰的文档.
如果您使用Paypal Express结帐,当付款待处理时,接下来会发生什么?
如果状态发生变化,贝宝会通过IPN向您发送更新信息吗?

I cant find anny clear documentations about this.
If you use paypal express checkout, when a payment is pending what happens next?
Does paypal sends you by IPN an update if the states changes, do you have options?

假设您执行DoExpressCheckoutPayment(使用NVP) 你得到这个:

Let say you do an DoExpressCheckoutPayment (with NVP) and you get this:

&PAYMENTSTATUS=Pending 
&PENDINGREASON= ECHECK //The payment is pending because it was made by an eCheck that has not yet cleared. 
&REASONCODE=None

因此,您已经付款了,想等到付款清除吗?接下来应该做什么.

So you've made the payment and you want to wait until its cleared? What should you do next.

更新一些(外部文档),我发现只有Sugest可以使用(IPN?)处理未付款项.

Update Some (external documentation) I found only sugest you could use (IPN?) to handle pending payments.

"如果"Do Express Checkout Payment PENDINGREASON"响应是一个值 除未完成或未完成外,付款尚待处理.通常, 这表示客户已使用aneCheck付款.在这种情况下,资金 不能保证,并且您不应该运送或运送物品或 服务,直到付款成功完成.注意:
如果您付款,贝宝(PayPal)建议您阻止eChecks作为付款方式 无法处理待处理的州付款.要查明付款状态 待付款,您可以:

"If the Do Express Checkout Payment PENDINGREASON response is a value other than none or completed , the payment is pending. Typically, this means the customer has paid with aneCheck. In such a case, funds are not guaranteed, and you should not ship or deliver items or services until the payment has successfully completed. NOTE:
PayPal recommends that you block eChecks as a payment method if you are unable tohandle pending state payments.To find out the status of a pending payment, you can:

提交查询交易.

使用PayPal Manager检查状态.请参阅贝宝管理器在线帮助 有关详细信息."

Check the status using PayPal Manager. See PayPal Manager online help for details."

贝宝(Paypal)沙箱似乎可以选择检查IPN消息中的快速结帐类型. DoExpressCheckoutPayment和IPN之间的唯一关联(如果使用这种方式)似乎可以使用自定义"字段来跟踪挂起状态.在DoExpressCheckoutPayment(nvp)中未提供txn_id(ipn).有人对此有任何经验吗?

The paypal sandbox seems to have the option to check IPN messages for the express checkout type. The only correlation (if its ment to be used this way) between the DoExpressCheckoutPayment and the IPN seems you can use the "custom" field to keep track of a pending status. The txn_id (ipn) isn't given in DoExpressCheckoutPayment (nvp). Does any one have any experience with this?

推荐答案

即使确定PAYMENTSTATUS = Pending,交易ID仍肯定会在DoExpressCheckoutPayment中给出.待处理的付款仍然是一笔交易.

The transaction ID is most certainly given in DoExpressCheckoutPayment, even if the PAYMENTSTATUS=Pending. A pending payment is still a transaction.

是的,当交易完成时,您将通过IPN收到通知.通常需要几个工作日.
完成后,您可以将DoExpressCheckoutPayment中的事务与您将通过IPN中的txn_id接收到的IPN相关联.

So yes, you would be notified via IPN when the transaction is completed. This typically takes a few working days.
Once it has completed, you can correlate the transaction from DoExpressCheckoutPayment to the IPN you will have received via the txn_id in the IPN.

注意:如果要在PayPal沙盒中测试待定"付款,只需转到 https://developer .paypal.com/>测试帐户,然后单击要与之进行测试的卖方帐户的付款审查".
在该卖家帐户上启用付款审核后,其收到的所有交易都将处于待处理"状态.
只需禁用付款审查即可在以后释放交易.

Note: If you want to test a 'Pending' payment in the PayPal Sandbox, simply go to https://developer.paypal.com/ > Test account and click on 'Payment review' for the seller account you're testing with.
Once payment review is enabled on that seller account, any transactions it receives will be in a 'Pending' state.
Simply disable payment review to release the tranasctions afterwards.

这篇关于PayPal快速结帐处理“待付款"使用IPN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆