贝宝PDT缺少变量

时间:2018-07-13 14:16:16

标签: paypal-pdt

我的PDT有问题。

付款后,当页面从Paypal返回到商家时,我使用pdt令牌进行请求以获取有关交易的信息。

通常,在重复销售的情况下,我会从贝宝获得这些参数:

                [transaction_subject] => paypal product
                [payment_date] => 19:53:02 Jul 12, 2018 PDT
                [txn_type] => subscr_payment
                [subscr_id] => I-XXXXXX
                [last_name] => test
                [residence_country] => CO
                [item_name] => paypal product
                [payment_gross] => 25.00
                [mc_currency] => USD
                [business] => vendor_email
                [payment_type] => instant
                [protection_eligibility] => Ineligible
                [payer_status] => unverified
                [payer_email] => buyer_email
                [txn_id] => XXXXXXXXXXX
                [receiver_email] => vendor_email
                [first_name] => test
                [payer_id] => XXXXXXXX
                [receiver_id] => XXXXXXXX
                [contact_phone] => 55555555
                [item_number] => 1234
                [payment_status] => Completed
                [payment_fee] => 1.64
                [mc_fee] => 1.64
                [mc_gross] => 25.00
                [custom] => 4321
                [charset] => windows-1252
                [] => 

但是在某些交易中,贝宝的响应缺少以下4个项目:

subscr_id 项目名称 项目编号 自定义

知道为什么他们不见了吗?购买是相同的,唯一的不同是购买者。

谢谢

1 个答案:

答案 0 :(得分:1)

最终,贝宝(Paypal)伙计们说这是一个错误。他们正在尝试在不可预见的将来修复它:)