Reputation: 163
I tried many things for cancel a subscription from my website, using IPN, but nothing works at all.
If user goes in his paypal's account, he can cancel the subscription, but how to do to cancel directly from my website ?
Below, data when i subscribe paypal user.
[txn_type] => subscr_signup
[subscr_id] => I-KHY1VY4R2WXA
[last_name] => XXXXXX
[residence_country] => FR
[mc_currency] => EUR
[item_name] => Abonnement Formule L
[business] => [email protected]
[recurring] => 1
[verify_sign] => AgM.BvA55GCu7w7mJuGOGONKJywMAHl5rkJloafyY25O77wSkVALqXxX
[payer_status] => verified
[test_ipn] => 1
[payer_email] => [email protected]
[first_name] => XXXXXX
[receiver_email] => [email protected]
[payer_id] => B4JDS8GTVXXXX
[reattempt] => 1
[recur_times] => 24
[subscr_date] => 07:45:53 Apr 27, 2016 PDT
[custom] => 810
[charset] => windows-1252
[notify_version] => 3.8
[period3] => 1 M
[mc_amount3] => 11.88
[ipn_track_id] => 82bce8ekj3537
Thanks a lot.
Upvotes: 0
Views: 1737
Reputation: 163
Done !
I used this, and it's ok :: https://thereforei.am/2012/07/03/cancelling-subscriptions-created-with-paypal-standard-via-the-express-checkout-api/
Upvotes: 1