2Checkout沙盒付款

时间:2017-01-12 12:42:43

标签: 2checkout

这是我第一次使用沙盒帐户。

我正在使用以下代码。

HashMap<String, String> params = new HashMap<>();
 params.put("sid", "cccc");
 params.put("mode", "2CO");
 params.put("li_0_type", "product");
 params.put("li_0_name", "Test");
 params.put("li_0_price", "1.00");




 String form = TwocheckoutCharge.submit(params);

 form = "<html>" + form + "</html>";

 return form;

它成功地带我到购买页面。但我没有收到付款选项和正确的页面。

我面临ERROR CODE:PE102错误。

以下是该网页的精彩镜头。

问题是什么,为什么我没有参加产品测试。

enter image description here

2 个答案:

答案 0 :(得分:1)

所有卖家和买家都可能会收到ERROR CODE PE102消息,原因如下:

  • 所有参数集:
  • 帐户未获批准销售。
  • 帐户已关闭。
  • 传递了不存在的卖家,或“sid”或“x_login”的无效值。
  • 沙盒销售正在传递到实时制作结帐网址。所有Sandbox销售必须传递到https://sandbox.2checkout.com/checkout/purchase

参考:http://help.2checkout.com/articles/Knowledge_Article/Error-Code-PE102

答案 1 :(得分:0)

考虑以上所有要点

参考链接现在无法在2020年使用:

在这里您可以创建沙箱帐户:http://sandbox.2checkout.com

相关问题