2checkout

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


Solution

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

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