简体   繁体   English

贝宝订阅按钮错误

[英]Paypal Subscription button error

This is my markup 这是我的标记

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions"/>
<input type="hidden" name="business" value="shubhangi254@gmail.com"/>
<input type="hidden" name="lc" value="US"/>
<input type="hidden" name="item_name" value="XYZ"/>
<input type="hidden" name="no_note" value="1"/>
<input type="hidden" name="src" value="1"/>
<input type="hidden" name="srt" value="3"/>
<input type="hidden" name="a3" value="10.00"/>
<input type="hidden" name="p3" value="1"/>
<input type="hidden" name="t3" value="M"/>
<input type="hidden" name="currency_code" value="USD"/>
<input type="hidden" name="bn" value="PP-SubscriptionsBF:btn_subscribeCC_LG.gif:NonHostedGuest"/>
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"/>
</form>

With this it redirects to paypal, but when I login with sandbox test account email it gives following error: The link you have used to enter the PayPal system is invalid. Please review the link and try again. 这样,它会重定向到Paypal,但是当我使用沙盒测试帐户电子邮件登录时,会出现以下错误: The link you have used to enter the PayPal system is invalid. Please review the link and try again. The link you have used to enter the PayPal system is invalid. Please review the link and try again.

Any idea? 任何想法?

shubhangi254@gmail.com is not a Sandbox account. shubhangi254@gmail.com不是沙盒帐户。 It's a developer account used for accessing https://developer.paypal.com/ 这是用于访问https://developer.paypal.com/的开发者帐户。
You must also create a test buyer/seller account via https://developer.paypal.com/ > Test Accounts. 您还必须通过https://developer.paypal.com/ >测试帐户创建测试买方/卖方帐户。
The value of 'business' will be the 'email address' of the Seller test account. “企业”的值将是卖方测试帐户的“电子邮件地址”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM