我正在使用PayPal沙盒来做一个订阅按钮,但当我收到订阅或取消订阅的IPN响应时,$_POST ['txn_id']永远不会设置。
所以我不知道如何识别交易以仅接受唯一的交易。
谢谢!
编辑:例如,对于subscr_cancel,我在POST中拥有的所有信息是:amount1,amount3,address_status,subscr_date,payer_id,address_street,mc_amount1,mc_amount3,charset,address_zip,first_name,reattempt,address_country_code,address_name,otify_version subscr_id custom payer_status business address_country address_city verify_sign payer_email btn_id last_name address_state receiver_email recurring txn_type item_name mc_currency residence_country test_ipn period1 period3 correlation_id
$_POST
变量? - Josh