Lawrence Cooke
Lawrence Cooke

Reputation: 1597

PayPal IPN not firing on Reactivate Subscription

I have set up a automatic billing subscription button,

When a user signs up, or we suspend a subscription, IPN sends data to our server, but when I click on the reactivate subscription link, to reactivate it, no IPN data is sent to our server.

I tried both setting the ipn url in paypal, and also setting the ipn url in the button and neither way seems to be firing on reactivation.

Is there something I am missing here that is making it not fire on reactivation?

Upvotes: 1

Views: 155

Answers (1)

Drew Angell
Drew Angell

Reputation: 26056

When looking at the IPN variables documentation, specifically the different values for txn_type, I don't see anything that would resemble a "reactivation" of a profile. Unfortunately, it looks like that's simply not something that the system triggers.

If you need to activate the user account in your own system based on the profile getting reactivated what you could do is use the recurring_payment IPN instead. This will be triggered as soon as the next payment for the profile happens, so in your system you could check the current status of the profile and update it need be when a payment actually occurs.

Upvotes: 2

Related Questions