mlsto Posted July 14, 2017 Share Posted July 14, 2017 Hello 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 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted July 15, 2017 WHMCS Support Manager Share Posted July 15, 2017 Hi, 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? 0 Quote Link to comment Share on other sites More sharing options...
mlsto Posted July 15, 2017 Author Share Posted July 15, 2017 (edited) 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> <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" /> </form> </div> Edited July 15, 2017 by WHMCS John Removed customer's address 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted July 15, 2017 WHMCS Support Manager Share Posted July 15, 2017 Hi, 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. 0 Quote Link to comment Share on other sites More sharing options...
mlsto Posted July 15, 2017 Author Share Posted July 15, 2017 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 Thanks 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.