Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Huge payment bugs in 5.1.9

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 12-06-2014, 09:13 AM
 
drholmes drholmes is offline
 

Advanced Member
  
Join Date: Oct 2014
Posts: 84
 

Default 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
__________________
X-Cart Business 5.4.1.7, No third party modules, most modules disabled, zero modifications other than CSS.
Reply With Quote
  #2  
Old 12-06-2014, 09:31 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default 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....
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 12-06-2014, 09:48 AM
 
drholmes drholmes is offline
 

Advanced Member
  
Join Date: Oct 2014
Posts: 84
 

Default 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!
__________________
X-Cart Business 5.4.1.7, No third party modules, most modules disabled, zero modifications other than CSS.
Reply With Quote
  #4  
Old 12-06-2014, 09:52 AM
 
drholmes drholmes is offline
 

Advanced Member
  
Join Date: Oct 2014
Posts: 84
 

Default 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
__________________
X-Cart Business 5.4.1.7, No third party modules, most modules disabled, zero modifications other than CSS.
Reply With Quote
  #5  
Old 12-06-2014, 10:10 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Huge payment bugs in 5.1.9

Glad to help.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
totaltec (12-06-2014)
  #6  
Old 12-06-2014, 12:55 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #7  
Old 12-08-2014, 05:19 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default 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.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #8  
Old 12-08-2014, 05:24 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default 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.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote

The following user thanks tony_sologubov for this useful post:
totaltec (12-08-2014)
  #9  
Old 12-10-2014, 12:51 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Huge payment bugs in 5.1.9

Paypal module has been updated. Feel free to upgrade to its corrected version.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #10  
Old 12-10-2014, 01:02 AM
 
drholmes drholmes is offline
 

Advanced Member
  
Join Date: Oct 2014
Posts: 84
 

Default 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.
__________________
X-Cart Business 5.4.1.7, No third party modules, most modules disabled, zero modifications other than CSS.
Reply With Quote
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:08 AM.

   

 
X-Cart forums © 2001-2020