我正在尝试识别来自 paypal 的所有拒付 IPN 请求。到目前为止,我唯一能弄清楚的是
Txn_Type=new_case & Case_type in (chargeback,dispute,complaint) distinct invoices are chargeback requests.您可以使用 txnid
和 parenttxnid
加入它们。
但有些情况下 txn_type 为 null 但 reason_code
in (chargeback,buyer_complaint or admin_fraud_reversal) with PaymentStatus=Reversed
是否有任何规则来识别所有拒付案例?或者更好的是所有可能场景的流程图?
最佳答案
根据此处的 PayPal 文档: https://developer.paypal.com/webapps/developer/docs/classic/ipn/integration-guide/IPNandPDTVariables/
您应该收到具有此值的 IPN POST:
transaction_type = Adjustment
这可以用于拒付、撤销或退款;检查 reason_code 看看是哪个。
您可能需要使用额外的 IPN 变量自定义您的脚本,以便接收额外的数据。
请在此处找到集成指南:https://developer.paypal.com/webapps/developer/docs/classic/ipn/integration-guide/IPNIntro/
关于paypal - 如何找到 Paypal IPN 拒付流程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19972581/