I do not understand. I tested the subscribe button in Sandbox mode and it was successful. The test business received a payment, and notify_url was called just fine. But as soon as I switched from Sandbox mode, the business is still paid, the subscription is successfully configured, but notify_url is not even called. The only things I change between live / sandbox formats:
{if $sandbox == TRUE} <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> {else} <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> {/if}
and
{if $sandbox == TRUE} <input type="hidden" name="hosted_button_id" value="46CVBBYCFHPSY" /> {else} <input type="hidden" name="hosted_button_id" value="VCL8LGQUWCM5E" /> {/if}
and just in case it matters ... the rest of it looks like this:
<input type="hidden" name="cmd" value="_s-xclick" /><input type="image" src="https://www.paypal.com/en_US/GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online." /> <input type="hidden" name="custom" value="{$user->user_info.user_id}" /> <input type="hidden" name="return" value="http://www.singlesikhs.co.uk/dev/singlesikhs/payment.php?task=success" /> <input type="hidden" name="notify_url" value="http://www.singlesikhs.co.uk/dev/singlesikhs/payment_paypal.php?action=ipn" /> <input type="hidden" name="cancel_return" value="http://www.singlesikhs.co.uk/dev/singlesikhs/payment.php?task=cancel" /> <img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1"> </form>
Why, why is this not working? I am pulling my hair here, trying to figure it out for my client. I canβt understand where everything is going wrong. Please help me, I have to make it finished for my client as soon as possible. I have everything else working 100%, with the exception of this thing. Thanks..
source share