Thanks for your time.
Below I will post 2 subscription payment paypal buttons. The first one does not work and creates this error upon submission:
"The link you have used to enter the PayPal system is invalid. Please review the link and try again."
The other works fine. Any idea why the first button causes problems? They are basically identical using the SAME post action url and SAME business address. This is for my SANDBOX testing.
Paypal Button 1 For Sandbox (NOT WORKING):
Code: <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" id="pay">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="jholtz_1249409996_biz@gmail.com">
<!-- Specify a Subscribe button. -->
<!-- Identify the subscription. -->
<input type="hidden" name="item_name" value="Your Main Product">
<input type="hidden" name="item_number" value="1">
<!-- Set the terms of the 1st trial period. -->
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="a1" value="1.00">
<input type="hidden" name="p1" value="1">
<input type="hidden" name="t1" value="Y">
<!-- Set the terms of the regular subscription. -->
<input type="hidden" name="a3" value="1.00">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="Y">
<input type="hidden" name="src" value="1">
<input type="hidden" name="srt" value="1">
<! -- Display The IPN & Return Url. -->
<input type="hidden" name="notify_url" value="http://mysite.com/profitx/admin/inc/ipn.php">
<input type="hidden" name="return" value="http://www.mysite.com/isl/index.php?a=ty&sess=08e55e32d1b0e62b92918441269efaa1">
<input type="hidden" name="custom" value="1_1_08e55e32d1b0e62b92918441269efaa1_1">
<input type="submit" name="submit" value="pay">
</form>
Paypal Button #2 For Sandbox (THIS WORKS JUST FINE)
Code:
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="jholtz_1249409996_biz@gmail.com">
<!-- Specify a Subscribe button. -->
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<!-- Identify the subscription. -->
<input type="hidden" name="item_name" value="Gold Membership Level">
<input type="hidden" name="item_number" value="3">
<!-- Set the terms of the 1st trial period. -->
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="a1" value="2.95">
<input type="hidden" name="p1" value="1">
<input type="hidden" name="t1" value="M">
<!-- Set the terms of the regular subscription. -->
<input type="hidden" name="a3" value="9.95">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="custom" value="bonus=1&main=3">
<input type="hidden" name="src" value="1">
<input type="hidden" name="srt" value="0">
<! -- Display The IPN & Return Url. -->
<input type="hidden" name="notify_url" value="http://mysite.com/blog/wp-content/plugins/wpr/ipn/ipn.php">
<input type="hidden" name="return" value="http://mysite.com/blog/wp-content/plugins/wpr/ty.php">
<!-- Display the payment button. -->
<input type="image" name="submit" border="0" src="https://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" alt="PayPal - The safer, easier way to pay online">
<img alt="" border="0" width="1" height="1" src="https://www.paypal.com/en_US/i/scr/pixel.gif" > </form>