8

When someone starts a recurring subscription, i pass on the custom variable which contains the User ID of the user on my system. After the payment I receive two IPNs, subscr_signup and subscr_payment. Both have the custom variable in them which lets me identify the user.

However, for future recurring payments, will the IPN continue to pass on the custom variable? Should I rely on the subscr_id instead of custom?

Thanks.

Ali
  • 261,656
  • 265
  • 575
  • 769

1 Answers1

6

I found the answer from this page. Yes, the custom variable will always be passed as-is in every consecutive IPN post.

Quote:

Custom is passed back through both the signup and payment IPN posts and is passed back through the consecutive IPN posts. There is not a variable that is passed back in the first payment IPN that is not reproduced in the consecutive ones. The only distinguishable factor would be the sign-up or if there was a different price for the first period of payment.

Ali
  • 261,656
  • 265
  • 575
  • 769
  • "this page" is gone... wish you had mentioned the name of the question on the forums... oh well. – ftrotter Dec 20 '10 at 10:57
  • @ftrotter sorry! But the info remains correct I think! Good thing I quoted the relevant part! – Ali Dec 23 '10 at 17:07