如何处理产生3个IPN的逆转

时间:2015-06-01 03:32:50

标签: paypal paypal-ipn

最近,一位客户向购买提出了银行逆转。购买是100美元。然而,逆转触发了三个IPN请求:

第1天:

IPN 1:
  mc_gross=-96.80
  mc_fee=-3.20
  payment_status=Reversed
  reason_code=buyer_complaint

第2天:

IPN 2:
  reason_code=unauthorized_spoof
  payment_status=Reversed
  mc_fee=-3.20
  mc_gross=-100.00

IPN 3:
  reason_code=buyer_complaint
  payment_status=Canceled_Reversal
  mc_fee=3.20
  mc_gross=96.80

对于所有三个IPN,txn_type为nil。

为什么一次逆转会产生IPN?我应该用哪一个来清理?会不会有三个?

我认为使用mc_gross查找与原始金额匹配的IPN并不是一个好主意,因为有时存在货币转换损失。

0 个答案:

没有答案
相关问题