简体   繁体   English

PHP Paypal IPN争议处理

[英]PHP Paypal IPN Dispute handling

I have a Paypal IPN that handles all my payments, creates accounts in the database, etc. When it comes to disputes, it can check when one is opened and adds a row for the dispute with transaction id, amount, etc. My problem is I don't know if there's a way to check if the dispute is closed, and if it is won/lost. 我有一个Paypal IPN,可以处理我的所有付款,在数据库中创建帐户等。涉及纠纷时,它可以检查何时打开并添加带有交易ID,金额等的纠纷行。我的问题是我不知道是否有办法检查争议是否已经解决,以及是否胜诉。 Does anyone know if there is a way to do this? 有谁知道有没有办法做到这一点?

IPN has transaction_type parameter which can contain different variables and this is how you know what is happening. IPN具有transaction_type参数,该参数可以包含不同的变量,这就是您所知道的情况。

In your case you check transaction_type to be adjustment and if it is you can see case_type to check if it is a disput or refund. 在您的情况下,您检查transaction_type是否可以adjustment ,如果是,则可以查看case_type来检查它是否有争议或退款。

https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_admin_IPNReference#id091EBC0E05Z https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_admin_IPNReference#id091EBC0E05Z

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM