X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   Huge payment bugs in 5.1.9 (https://forum.x-cart.com/showthread.php?t=70711)

drholmes 12-06-2014 09:13 AM

Huge payment bugs in 5.1.9
 
Hi,

I've posted bug reports on these, but X-Cart 5.1.9 could cripple your checkout, and I'm posting here both to bring attention to it, and to warn. We've lost thousands of dollars on these bugs, they're severe.

1.) X-Payments Bug: X-Payments doesn't properly load if Credit Card is the default payment method. After the user is finished filling out an address and they click outside the form, X-Payments NEVER LOADS the credit card. You have to select another payment method and then switch back to X-Payments, then it loads. As an emergency, we've created a dummy "Phone Order" method to place at the top to force people to proactively select X-Payments. We were bleeding money with low order volumes for days until a customer contacted us.

2.) PayPal bug. This one is terrible. In the 5.1.9 PayPal module, the Order Total is erroneously submitted to PayPal as the Invoice ID (instead of the Order Number) with the result that PayPal will not allow a second order with the same order total. If one customer has ordered something costing exactly $20.99, NO OTHER CUSTOMER can finish an order for the same amount, ever, because PayPal reports that that "Invoice has already been paid". Since most of our products cost the same, we started bleeding money the moment we upgraded to 5.1.9. This will happen to everyone eventually. We have an endless parade of "Awaiting Payment" orders from people whose checkout failed and then they just never came back. $2,000 lost right there. To verify, go to transaction screen for any completed order, and you'll see the order total as the Invoice ID.

Per

cflsystems 12-06-2014 09:31 AM

Re: Huge payment bugs in 5.1.9
 
I know this is not the solution but temporarily you can change settings in PP to allow for same order submission so you can at least have orders completed....

drholmes 12-06-2014 09:48 AM

Re: Huge payment bugs in 5.1.9
 
Hi Steve,

I didn't know that was an option, I'll do that right away. We have currently turned off the PayPal module completely, because we were bleeding money from lost orders. People don't normally contact you when they have problems, they just move on. Without PayPal, at least they would try a credit card, although many of our customers only want to pay with PayPal.

Thanks for the tip!

drholmes 12-06-2014 09:52 AM

Re: Huge payment bugs in 5.1.9
 
Done and done! That was the tip of the year, now we can re-enable PayPal.

For others, it's in My Profile -> Selling Tools -> Block Payments -> Block accidental payments -> No, allow multiple payments per invoice ID

Thanks!

Per

cflsystems 12-06-2014 10:10 AM

Re: Huge payment bugs in 5.1.9
 
Glad to help.

totaltec 12-06-2014 12:55 PM

Re: Huge payment bugs in 5.1.9
 
You are not alone in experiencing these bugs and others with X-Payments. I believe that by now the X-Cart team is well aware of these issues, and is trying to rectify them. Thanks for posting this info Per.

tony_sologubov 12-08-2014 05:19 AM

Re: Huge payment bugs in 5.1.9
 
Hi Per!

Thanks for reporting a bug. Our dev team just confirmed that this Paypal bug will be hot-fixed today or tomorrow with new version of the module.

Sorry about that!

Tony.

tony_sologubov 12-08-2014 05:24 AM

Re: Huge payment bugs in 5.1.9
 
As a quick fix, you can apply the following solution to your store.
Edit the classes/XLite/Module/CDev/Paypal/Model/Payment/Processor/PaypalWPS.php file and add this line:

PHP Code:

$orderNumber $this->getSetting('prefix') . $order->getOrderNumber(); 


after this one:

PHP Code:

$orderTotal $currency->roundValue($order->getTotal()); 


Then, replace this line:
PHP Code:

'invoice'       => $orderTotal


with the next one around line number 409:
PHP Code:

'invoice'       => $orderNumber


After that re-deploy the store and the problem will be fixed.

Tony.

tony_sologubov 12-10-2014 12:51 AM

Re: Huge payment bugs in 5.1.9
 
Paypal module has been updated. Feel free to upgrade to its corrected version.

Tony.

drholmes 12-10-2014 01:02 AM

Re: Huge payment bugs in 5.1.9
 
May I add, the developers have confirmed the X-Payments bug preventing credit card form from loading.


All times are GMT -8. The time now is 03:55 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.