3

我已经使用网站支付标准在我的 asp.net 中集成了 paypal 沙箱,如下所示。

<form name="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick" />
                            <input type="hidden" name="business" value="abc_131556943_biz@gmail.com" />

                            <input type="hidden" name="item_name" value="MyItem" />

                            <input type="hidden" name="amount" value="0.01" />

                            <input type="hidden" name="return" value="http://stackoverflow.com/questions/ask" />
                            <input type="hidden" name="cancel_return" value="http://stackoverflow.com" />
                            <input type="hidden" name="notify_url" value="http://stackoverflow.com" />
                            <input type="hidden" name="no_shipping" value="1" />
                            <input type="submit" value="Please Wait....." style="visibility: hidden" />
                            </form>

现在的问题是,当我被重定向到贝宝时,它首先要求登录贝宝沙盒帐户。我想问是否有必要登录贝宝沙箱进行付款。是否有任何参数我们可以在隐藏字段中发送,这样它就不会要求沙箱登录。

谢谢,拉杰比尔

4

1 回答 1

1

我通常在测试时预认证进入沙盒以跳过/保持正常的代码流。除了使用真实帐户之外,我不知道可以通过它做什么。

于 2012-04-25T13:12:22.147 回答