Salman Shaikh
Salman Shaikh

Reputation: 595

2Checkout Sandbox Payment

This is the first time I am using the sandbox account.

The following code I am using.

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;

It successfully take me to the purchase page . But I am not getting the payment options and correct page .

I am facing ERROR CODE:PE102 Error .

Following is the screent shot of the page.

What is the problem , Why I am not getting my Product Test.

enter image description here

Upvotes: 1

Views: 3878

Answers (2)

afsarkhan10182
afsarkhan10182

Reputation: 2212

Considering all the above points

The reference link is not working now in 2020:

Here is you can create Sandbox Account: http://sandbox.2checkout.com

Upvotes: 0

Cliffordwh
Cliffordwh

Reputation: 1430

All sellers as well as buyers may receive the message ERROR CODE PE102 for several reasons:

  • All Parameter Sets:
  • Account is not approved to sell.
  • Account has been closed.
  • Nonexistent seller, or an invalid value for “sid” or “x_login” was passed in.
  • Sandbox sale is being passed to live production checkout URL. All Sandbox sales must be passed to https://sandbox.2checkout.com/checkout/purchase

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

Upvotes: 1

Related Questions