php - PayPal IPN $_POST['txn_id'] not set -



php - PayPal IPN $_POST['txn_id'] not set -

i'm using paypal sandbox subscribe button , when ipn response subscription or subscription cancelation $_post['txn_id'] never set.

so don't know how identify transactions take unique ones

thanks!

edit: illustration info have in post subscr_cancel : 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

according table 2. summary of subscription variables:

for subscription variables, transaction id (txn_id) available usd payment , multi-currency payment transaction types (txn_type).

as expected, paypal not send txn_id ipn transaction type, subscr_cancel, , only send txn_id if transaction type subscr_payment.

for farther explanation on variables sent ipn url based on transaction, please check out ipn , pdt variables.

php paypal sandbox paypal-ipn

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -