Paypal 似乎已经改变了他们的 IPN 测试界面。(将 IPN 欺骗到您的 IPN 页面进行测试。
以下是我现在从 IPN 收到的数据。
键:receipt_ID - 值:
键:mc_handling1 - 值:1.67
键:address_state - 值:CA
关键:数量1 - 价值:
键:reason_code - 值:
关键:数量 - 价值:
键:txn_id - 值:359726646
键:姓氏 - 值:史密斯
键:mc_currency - 值:1
键:payer_status - 值:0
键:address_status - 值:1
键:auction_buyer_id - 值:
关键:税 - 价值:2.02
键:发票 - 值:abc1234
关键:运输 - 价值:
KEY:address_street - VALUE:123,任何街道
键:payer_email - 值:buyer@paypalsandbox.com
键:mc_gross1 - 值:9.34
键:item_name - 值:
键:mc_shipping - 值:3.02
键:cmd - 值:,_notify-validate
键:名字 - 值:约翰
关键:业务 - 价值:seller@paypalsandbox.com
键:parent_txn_id - 值:
键:payer_id - 值:TESTBUYERID01
键:payment_date - 值:太平洋标准时间 2013 年 3 月 8 日 08:11:09
键:address_country - 值:1
键:payment_status - 值:2
键:receiver_email - 值:seller@paypalsandbox.com
键:for_auction - 价值:
键:ipn_type - 值:4
键:payment_type - 值:1
键:address_zip - 值:95131
键:address_city - 值:圣何塞
键:mc_shipping1 - 值:1.02
键:item_name1 - 值:某物
键:mc_gross - 值:12.34
键:item_number1 - 值:AK-1234
键:mc_fee - 值:0.44
键:residence_country - 值:美国
键:address_country_code - 值:1
键:notify_version - 值:2.4
键:receiver_id - 值:seller@paypalsandbox.com
键:pending_reason - 值:
键:mc_handling - 值:2.06
键:txn_type - 值:购物车
键:自定义 - 值:xyz123
键:auction_closing_date - 价值:
键:item_number - 值:
键:address_name - 值:约翰·史密斯
键:notify_url - 值:http ://www.sellwidget.com/IPN.aspx
您会注意到对于某些响应,它们具有整数而不是值。就在昨天,情况并非如此。
这是一个错误,还是他们将这些更改为关系数据?