Jump to content
Sign in to follow this  

2CheckOut Error on Payments

Recommended Posts



Started getting an error on 2CheckOut orders, it is showing error PE101. Used to work but not now. All details are correct in the 2CO module.


Got this from 2CO - The error PE101 is caused by accessing https://www.2checkout.com/checkout/purchase directly, or by an improper configuration on your cart's side.


If you use cart software on your side, you will need to consult your user manual to ensure your 2Checkout account ID is entered where required.



As stated all is correct and worked before, any ideas why this is happening now?


Any help would be appreciated.


Thank you

Share this post

Link to post
Share on other sites


This isn't a common error we encounter.


Could you please view the affected invoice as a client, view the page HTML source, and paste the payment button code here for us to review?

Share this post

Link to post
Share on other sites

Thank you for getting back. I have taken the code off a due invoice because the other clients paid so no buy button.


The think is with the error they pay twice thinking it did not go through but it does go through so have to keep refunding these double payments.


Here is from a due invoice:



<div class="payment-btn-container" align="center">

<form action="https://www.sluhosting.com/client//modules/gateways/tco.php?recurring=1" method="post">

<input type="hidden" name="invoiceid" value="1831" />

<input type="submit" value="Create Automated Recurring Subscription" />

</form><form action="https://www.2checkout.com/checkout/purchase" method="post">

<input type="hidden" name="x_login" value="My-2CO-ID-Here">

<input type="hidden" name="x_invoice_num" value="1831">

<input type="hidden" name="x_amount" value="1.00">

<input type="hidden" name="currency_code" value="USD">

<input type="hidden" name="c_name" value="SLU Hosting - Invoice #1831">

<input type="hidden" name="c_description" value="SLU Hosting - Invoice #1831">

<input type="hidden" name="c_price" value="1.00">

<input type="hidden" name="c_tangible" value="N">

<input type="hidden" name="x_First_Name" value="Redacted">

<input type="hidden" name="x_Last_Name" value="Redacted">

<input type="hidden" name="x_Email" value="Redacted">

<input type="hidden" name="x_Address" value="Redacted">

<input type="hidden" name="x_City" value="Redacted">

<input type="hidden" name="x_State" value="">

<input type="hidden" name="x_Zip" value="">

<input type="hidden" name="x_Country" value="CO">

<input type="hidden" name="x_Phone" value="Redacted">

<input type="hidden" name="fixed" value="Y">

<input type="hidden" name="return_url" value="https://www.sluhosting.com/client//cart.php">

<input type="hidden" name="return_url" value="https://www.sluhosting.com/client//cart.php">

<input type="hidden" name="lang" value="en">

<input type="hidden" name="x_receipt_link_url" value="https://www.sluhosting.com/client//modules/gateways/callback/2checkout.php"><input type="submit" value="Make One Off Payment" />



Edited by WHMCS John
Removed customer's address

Share this post

Link to post
Share on other sites


Thanks for posting that. I took the liberty of editing the post so as to remove your client's details.


The 2Checkout documentation suggests this error is caused by an invalid 2Checkout account ID number being passed: http://help.2checkout.com/articles/Knowledge_Article/Error-Code-PE101

Please confirm that the value you have is your numeric 2Checkout account ID, with no blank spaces: http://help.2checkout.com/articles/FAQ/Where-is-my-Seller-ID


I also note that the x_State and x_Zip values were empty. Ty completing those details under the client's Profile tab and try again.

Share this post

Link to post
Share on other sites

Thank you for getting back, I do have the 2CO ID correct with no spaces, it is filled in as below.


<input type="hidden" name="x_login" value="000000000000">


No spaces and still the error. Some clients fill in the State and Zip and it still happens.


Just do not know why. 2CO says the number which I have correct and using the Url direct:


</form><form action="https://www.2checkout.com/checkout/purchase" method="post">


Really would like to get this to work



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated