【问题标题】:Paypal Subscription button error贝宝订阅按钮错误
【发布时间】:2012-02-18 09:35:12
【问题描述】:

这是我的标记

<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>

这样它会重定向到贝宝,但是当我使用沙盒测试帐户电子邮件登录时,它会出现以下错误: The link you have used to enter the PayPal system is invalid. Please review the link and try again.

有什么想法吗?

【问题讨论】:

  • 您正在使用的业务领域的电子邮件是沙盒的还是真实的?因为出于测试目的,它应该是沙箱;s

标签: c# paypal paypal-subscriptions


【解决方案1】:

shubhangi254@gmail.com 不是沙盒帐户。这是一个开发者账号,用于访问https://developer.paypal.com/
您还必须通过https://developer.paypal.com/ > 测试帐户创建一个测试买家/卖家帐户。
'business' 的值将是卖方测试帐户的'电子邮件地址'。

【讨论】:

    猜你喜欢
    • 2013-01-24
    • 2012-04-09
    • 2014-07-27
    • 2012-10-21
    • 2013-06-15
    • 2015-01-05
    • 2022-01-19
    • 1970-01-01
    相关资源
    最近更新 更多