0

我正在尝试测试我的侦听器文件如何处理 PayPal 交易,但沙盒没有传递任何有关交易费用的信息。我很确定实时 PayPal 网站确实将交易费用传递给了侦听器文件。

这是发布到侦听器文件的内容:

mc_gross    =>  25.00
protection_eligibility  =>  Ineligible
address_status  =>  confirmed
item_number1    =>  C-1001
tax =>  0.00
item_number2    =>  C-1002
payer_id    =>  XXXXXXXXXXXXX
address_street  =>  1 Main St
payment_date    =>  15:10:14 May 27, 2013 PDT
payment_status  =>  Pending
charset =>  windows-1252
address_zip =>  95131
mc_shipping =>  0.00
mc_handling =>  0.00
first_name  =>  Jon
address_country_code    =>  US
address_name    =>  Jon Doe
notify_version  =>  3.7
custom  =>  *Member ID passed as custom variable*
payer_status    =>  verified
address_country =>  United States
num_cart_items  =>  2
mc_handling1    =>  0.00
mc_handling2    =>  0.00
address_city    =>  San Jose
verify_sign =>  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-999999999999999999999999
payer_email =>  jon@mydomain.com
mc_shipping1    =>  0.00
mc_shipping2    =>  0.00
tax1    =>  0.00
tax2    =>  0.00
txn_id  =>  XXXXXXXXXXXXXXXXX
payment_type    =>  instant
last_name   =>  Doe
address_state   =>  CA
item_name1  =>  General Expenses
receiver_email  =>  finance@ourdomain.org
item_name2  =>  Building Fund
quantity1   =>  1
quantity2   =>  1
pending_reason  =>  unilateral
txn_type    =>  cart
mc_gross_1  =>  10.00
mc_currency =>  USD
mc_gross_2  =>  15.00
residence_country   =>  US
test_ipn    =>  1
transaction_subject =>  *Member ID passed as custom variable*
payment_gross   =>  25.00
ipn_track_id    =>  9999999999999
4

1 回答 1

0

mc_fee您应该看到和的变量payment_fee。如果您没有看到这些变量,您能否提供事务 ID,我可以在我这边查看一下。此外,您还可以找到此处列出的 IPN/PDT 变量列表。

于 2013-05-28T04:56:02.823 回答