Reputation: 2337
I have the below form sent to Paypal's sandbox from my production Server
<form method="post" action="https://www.sandbox.paypal.com/cgi-bin/webscr" name="paypalFOrm">
<input type="hidden" value="_xclick-subscriptions" name="cmd">
<input type="hidden" value="[email protected]" name="business">
<input type="hidden" value="A Subscription" name="item_name">
<input type="hidden" value="10" name="item_number">
<input type="hidden" value="USD" name="currency_code">
<input type="hidden" value="1" name="no_note">
<input type="hidden" value="10" name="a3">
<input type="hidden" value="1" name="p3">
<input type="hidden" value="M" name="t3">
<input type="hidden" value="http://a.com/ThankYou.aspx?from=pc" name="return">
<input type="hidden" value="http://a.com/IPN.aspx" name="notify_url">
<input type="hidden" value="1" name="src">
<input type="image" alt="" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribe_SM.gif" name="submit">
<img border="0" width="1" height="1" alt="" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif">
When I test the IPN using IPN simulator, it works fine however when I make test payments, no IPN is fired. Please advise if I am doing something wrong here.
Upvotes: 1
Views: 77
Reputation: 26056
Subscriptions won't work from notify_url. You'll have to setup IPN in the PayPal account profile to trigger subscription based IPNs.
Upvotes: 1