首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Paypal沙盒集成

Paypal沙盒集成
EN

Stack Overflow用户
提问于 2011-10-27 20:43:47
回答 1查看 2.7K关注 0票数 1

我使用简单的表单提交到贝宝沙盒网址'https://www.sandbox.paypal.com/au/cgi-bin/webscr'

代码语言:javascript
复制
<input type="hidden" name="amount" value=11>
  <input type="hidden" name="cmd" value="_xclick">
  <input type="hidden" name="no_shipping" value="1">
  <input type="hidden" name="business" value='biz@ee.com'>
  <input type="hidden" name="item_name" value="audio">
  <input type="hidden" name="currency_code" value=USD>
  <input type="hidden" name="UseSandbox" value="true">
  <input type="hidden" name="return" value=returnURL/">
  <input type="hidden" name="cancel_return" value=cancel_url/">
  <input type="image" align='centre' src="http://www.paypal.com/en_AU/i/btn/x-click-but01.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">

如果我已经登录到我的沙盒帐户,一切正常,我被重定向到付款页面与我的商家测试商店显示金额和右侧显示付款替代方案。为什么不能直接访问卖家测试商店。

EN

回答 1

Stack Overflow用户

发布于 2011-10-28 03:17:00

您必须登录到https://developer.paypal.com/才能访问*.sandbox.paypal.com域上的任何页面。这就是沙盒的工作原理。

因为沙盒是为了测试和开发的目的,没有真正的购买者会看到这一点,因为你显然不会把他们发送到沙盒页面。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7915973

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档