Hi All, I have been configuring a monthly subscription Paypal IPN to collect monthly recurring payments from a membership website.
I have my annual IPN working great. Just strugling with the monthly recurring payments.
I have the following configured in my subscription button
<input type="hidden" name="a1" value="' . $price . '">
<input type="hidden" name="p1" value="1">
<input type="hidden" name="t1" value="M">
<input type="hidden" name="a2" value="' . $pricem1 . '">
<input type="hidden" name="p2" value="1">
<input type="hidden" name="t2" value="M">
<input type="hidden" name="a3" value="' . $pricemthly . '">
<input type="hidden" name="p3" value="12">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="src" value="1">
<input type="hidden" name="sra" value="1">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="currency_code" value="USD">
basically, the first month is free, second month is 50% off and every other month afterwards is the full price of the subscription.
What I am getting confused about is what variable names paypal send me back.
Are the variables the same name as above so I can update my database.
or do they have different names like here https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables
Hope someone can help point me in the right direction.
Cheers