I'm trying to implement a recurrent payment with PayPal. I'm testing everything with the sandbox accounts. The payment process goes well and I can see inside the "Sandbox emails and SMS notifications" the payment notification but after the payment, the paypal site tries to call www.sandbox.paypal.com /webapps/billing/api/billagmt/subscriptions/v1/BC-.../landingPage with meta {"calc":"20[Removed. Phone #s not permitted]ce3901","locale":{"country":"IT","language":"it","locale":"it_IT"},"state":"ui_subscriptions_v1_complete","app_name":"billingnodeweb"} and it receives Status code 500 Internal Server Error with this json response: {"ack":"error","message":"Unhandled api error","meta":{"calc":"789c0f8a52f70","rlog":"rZJvnqaaQhLn%2FnmWT8cSUo8QXTeqJkzg7PvyMHtc7jCbO2%2Bj5MlJN8Ud4vOAhfzaFGpLU%2FGPkfHKN5kgGzYz5A_174bb5796d1"},"server":"ZOf3A3Y9KKIZUofpdqrMVdnpWgmhumyF_9wVbr7jIDY1e3RMcEoctE4EVOSXBXFoqJf3h7uJDvUpMMVMfY-OTuq0fsJwNfllDaZjybsbd3xW0QVRuSB9tIPIwn4B1jseJMUqiZ79F7oiH3pSnsaNQ4h7TjUOuQmEx6oaHVHXluTC-laDM-7E5m4Qt-d2eZ1JjJL-ZXDx7[Removed. Phone #s not permitted]eVDrkW"} After this error, the page remains blank and it doesn't call the "return_url" on my website. Do someone knows what it can be? To test my web site I'm using ngrok with https. The paypal button is created as: <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions" id="id_cmd">
<input type="hidden" name="charset" value="utf-8" id="id_charset">
<input type="hidden" name="currency_code" value="EUR" id="id_currency_code">
<input type="hidden" name="no_shipping" value="1" id="id_no_shipping">
<input type="hidden" name="business" value="<email>" id="id_business">
<input type="hidden" name="a3" value="320" id="id_a3">
<input type="hidden" name="p3" value="1" id="id_p3">
<input type="hidden" name="t3" value="Y" id="id_t3">
<input type="hidden" name="src" value="1" id="id_src">
<input type="hidden" name="sra" value="0" id="id_sra">
<input type="hidden" name="no_note" value="1" id="id_no_note">
<input type="hidden" name="item_name" value="subscription" id="id_item_name">
<input type="hidden" name="invoice" value="f0175278-57b8-4f20-961c-b0e0e1e51f3a" id="id_invoice">
<input type="hidden" name="custom" value="1" id="id_custom">
<input type="hidden" name="amount" value="320" id="id_amount">
<input type="hidden" name="notify_url" value="/path/to/notify/url/" id="id_notify_url">
<input type="hidden" name="cancel_return" value="/path/to/payment-cancelled/" id="id_cancel_return">
<input type="hidden" name="return" value="/path/to/payment-done/" id="id_return">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" name="submit" alt="Buy it Now" border="0">
</form> Any suggestions would be greatly appreciated. Thank you.
... View more