On purchase confirmation, returns to cart page

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

On purchase confirmation, returns to cart page

Postby davidacton » Fri Aug 21, 2015 12:19 pm

Hi, we are having a problem at the checkout confirmation point. On checkout, the payment is passed to the processor (SagePay) and the transaction is completed according to the SagePay admin panel. However the order is not logged in Virtuemart and the page returns to the cart page, not an Order Received page. We are using OPC version 2.0.284.260215. I have tried installing the latest version but this made the problem worse in that the SagePay card fields would no longer display.

If I disable OPC the system processes the order correctly.

Any ideas?

David
davidacton
 
Posts: 1
Joined: Fri Aug 21, 2015 12:15 pm

Re: On purchase confirmation, returns to cart page

Postby admin » Mon Aug 24, 2015 2:31 pm

hello david, we fixed this over FTP for you.

Generally for Sagepay i'd suggest to render the credit card (or other) fields even for invalid address, so that the complixity of the checkout does not prevent customer errors from the purchase. Also i'd suggest to add an "article above the basket" to tell your customers "how to use the checkout" especially if it requires a strict address of it to work.

your issue (fixed over ftp) was caused by the theme modification where the form was missing a word "echo" in:

Code: Select all
<form action="<?php $action_url....


should be:
Code: Select all
<form action="<?php echo $action_url....


best regards, stan
admin
Site Admin
 
Posts: 2624
Joined: Wed Jan 06, 2010 11:43 pm

Re: On purchase confirmation, returns to cart page

Postby g39n22e » Tue Jan 05, 2016 2:55 pm

I have installed the component on this site contessina.gr and whenever we press the order button it redirects back to the cart page. There's no credit card processor like this issue here. What do i do?
The url of the page that is returned to is this http://www.contessina.gr/en/cart/edit_s ... redirect=1

Thank you
g39n22e
 
Posts: 1
Joined: Fri Dec 25, 2015 10:29 am

Re: On purchase confirmation, returns to cart page

Postby admin » Mon Jan 11, 2016 3:31 pm

hello, i fixed this with:

- i disabled vmshipment digitalshipping (Digital Products Shipment For Virtuemart 2)
- i disabled vmshipment rules_shipping (it isn't used by your vm installation)

- i dsabled "System - Mootools Enabler/Disabler", system - mootable, since it caused many JS problems on your site
- disabled system - redirect plugin since it probably causes huge performance problems on your site due to many items created by attackers trying to hack your site and thus creating lot's of 404's stored in the database

now all seems to work and it's faster.

also note, that some of your other Joomla plugins may do "remote calls" which slow down or break your site. it's quite hard to locate them, but they usually hide under an encoded php files.

best regards, stan
admin
Site Admin
 
Posts: 2624
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2

cron