PayPal付款撤销被IPN标记为“完整”,

时间:2012-12-13 14:55:13

标签: paypal paypal-ipn

我原本预计付款逆转会回来,好吧,“反转”。

两个IPN通知几乎相同,我真的很困惑我应该如何处理这两个非常不同且有影响的案例..

我认为没有迹象表明一个是成功付款,一个是取消(撤销)该付款..

这是成功的付款

{
    "transaction": ["USD 107.75"],
    "payment_request_date": "Thu Dec 13 06:36:41 PST 2012",
    "return_url": "http:\\/\\/dev.something.com\\/paypal\\/callback\\/success",
    "fees_payer": "EACHRECEIVER",
    "ipn_notification_url": "http:\\/\\/dev.something.com\\/paypal\\/ipn_pay",
    "sender_email": "buyer_1345686673_per@something.ch",
    "verify_sign": "APXJM61hjKwY87DLzueyb5wEw.d6A-0.-hTUGwmFgZwciame2x1SEpe1",
    "test_ipn": "1",
    "cancel_url": "http:\\/\\/dev.something.com\\/paypal\\/callback\\/cancel",
    "pay_key": "AP-4AC54963BJ135581V",
    "action_type": "PAY",
    "memo": "MEMO",
    "transaction_type": "Adaptive Payment PAY",
    "tracking_id": "pay_50c9e7f8658ae",
    "status": "COMPLETED",
    "log_default_shipping_address_in_transaction": "false",
    "charset": "windows-1252",
    "notify_version": "UNVERSIONED",
    "reverse_all_parallel_payments_on_error": "false"
}

以下是与付款审核后相反的付款

{
    "transaction": ["USD 107.75"],
    "payment_request_date": "Thu Dec 13 06:36:41 PST 2012",
    "return_url": "http:\\/\\/dev.something.com\\/paypal\\/callback\\/success",
    "fees_payer": "EACHRECEIVER",
    "ipn_notification_url": "http:\\/\\/dev.something.com\\/paypal\\/ipn_pay",
    "sender_email": "buyer_1345686673_per@something.ch",
    "verify_sign": "Am2jFc4B6hWjlKD0-6LqtZwFoCEPACrjGEsaP1pg3GsZN5Q33vlx.AO1",
    "test_ipn": "1",
    "cancel_url": "http:\\/\\/dev.something.com\\/paypal\\/callback\\/cancel",
    "reason_code": "Unknown",
    "pay_key": "AP-4AC54963BJ135581V",
    "action_type": "PAY",
    "memo": "MEMO",
    "expiration_date": "Thu Dec 13 06:40:07 PST 2012",
    "transaction_type": "Adjustment",
    "tracking_id": "pay_50c9e7f8658ae",
    "status": "COMPLETED",
    "log_default_shipping_address_in_transaction": "false",
    "charset": "windows-1252",
    "notify_version": "UNVERSIONED",
    "reverse_all_parallel_payments_on_error": "false"
}

1 个答案:

答案 0 :(得分:1)

此处的差异是“自适应付款支付”与“调整”的交易类型。

但要记住的一件事是,这些IPN适用于您的自适应支付应用程序,并且适用于应用程序所有者,而不是卖方。

所涉及的实际卖家帐户将从系统中获取自己的IPN,其中包含有关付款本身的更多详细信息。