Php Paypal订阅未完成,无法重定向到我的网站
在点击订阅按钮后,它重定向到贝宝,并且在登录付款未完成后。下面是我的代码Php Paypal订阅未完成,无法重定向到我的网站,php,paypal,paypal-sandbox,paypal-subscriptions,Php,Paypal,Paypal Sandbox,Paypal Subscriptions,在点击订阅按钮后,它重定向到贝宝,并且在登录付款未完成后。下面是我的代码 <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> <!-- Identify your business so that you can collect the payments. --> <input name="business&q
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<!-- Identify your business so that you can collect the payments. -->
<input name="business" value="marchent_account@paypal.com" type="hidden">
<!-- Specify a Subscribe button. -->
<input name="cmd" value="_xclick-subscriptions" type="hidden">
<!-- Identify the subscription. -->
<input name="item_name" value="Gold Subscription Plan " type="hidden">
<input name="item_number" value="1" type="hidden">
<!-- Set the terms of the regular subscription. -->
<input name="currency_code" value="USD" type="hidden">
<input name="a3" value="50.00" type="hidden">
<input name="p3" value="1" type="hidden">
<input name="t3" value="M" type="hidden">
<!-- Set recurring payments until canceled.
<input type="hidden" name="src" value="1"> -->
<input name="cancel_return" value="https://www.mywebsite.com/status.php?action=cancel" type="hidden">
<input name="notify_url" value="https://www.mywebsite.com/status.php?action=success" type="hidden">
<!-- Display the payment button. -->
<input name="submit" src="https://www.paypalobjects.com/webstatic/en_US/i/btn/png/btn_subscribe_113x26.png" alt="Subscribe" type="image">
<img alt="" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" height="1" width="1">
</form>
步骤1:
步骤2:
登录后,未扣除金额,也未重定向到我的网站。您未返回URL,这就是它重定向到我们网站的原因。您没有返回URL,这就是它重定向到我们网站的原因。