我的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 项目名称 项目编号 自定义
知道为什么他们不见了吗?购买是相同的,唯一的不同是购买者。
谢谢
答案 0 :(得分:1)