Aprium Software

Drupal e-commerce clears cart regardless

The drupal ecommerce mode clears the contents of the cart when you enter the payment system. This is annoying because if a user fails the payment there shopping cart is emptied and may have taken a long time to create. I found this one a little hard to debug as it is actually an implementation of hook_ec_transactionapi in the cart itself. To fix this problem just go into the ecommerce module and comment out the line cart_empty in the cart_ec_transactionapi function. You will then need to clear the cart down yourself either in your payment gateway or payment success node.

Hire

If you need a London based Drupal developer you can hire me. Check the availability page and contact me on info@aprium.net.

 

Powered by Drupal, an open source content management system

Copyright Aprium 2010