Hey,
So I am curious on how to setup a recurring payment like I have here, but I need paypal to return to me if the payment was successful, and ONCE it is go to X.PHP page where I update the MySQL User Table stating he has setup payment. If anyone could give me some guidance that would be great.
echo '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">';
echo '<input type="hidden" name="cmd" value="_xclick-subscriptions" />';
echo '<input type="hidden" name="business" value="[email protected]" />';
echo '<input type="hidden" name="item_name" value="Subscription" />';
echo '<input type="hidden" name="currency_code" value="CAD" />';
echo '<input type="hidden" name="a3" value="0.01" />';
echo '<input type="hidden" name="p3" value="1" />';
echo '<input type="hidden" name="t3" value="M" />';
echo '<input type="hidden" name="return" value="success.php" />';
echo '<input type="hidden" name="cancel_return" value="fail.php" />';
echo '<input type="hidden" name="src" value="1" />';
echo '<input type="hidden" name="sra" value="1" />';
echo '<input type="hidden" name="receiver_email" value="[email protected]" />';
echo '<input type="hidden" name="mrb" value="R-3WH47588B4505740X" />';
echo '<input type="hidden" name="pal" value="ANNSXSLJLYR2A" />';
echo '<input type="hidden" name="no_shipping" value="1" />';
echo '<input type="hidden" name="no_note" value="1" />';
echo '<input name="submit" type="submit" value="Use PayPal" />';
echo '</form>';