VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: sschlee on August 15, 2012, 09:40:26 AM

Title: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: sschlee on August 15, 2012, 09:40:26 AM
I'm having an issue with an endless loop going from the cart page (with bill to, ship to, payment and shipping breakdown) to the credit card page. When you confirm order/Check Out Now, you go to the "Please select a payment method" page.  I enter the credit card info and click "Save". It sends me back to the cart page and this is an endless loop.  I have tried as many things as I can from what I have found on many message boards.  I have tried different templates and also turned off SEF and still stuck in this loop. It happens in sandbox and regular mode as well.  I have created the _System folder, have SSL, static IP, etc, etc, etc.

When SEF is off, I get the following error logs:
[Wed Aug 15 00:23:05 2012] [error] [client 24.178.5.206] File does not exist: /home/woodsb/public_html/templates/_system, referer: https://www.woodsboots.com/index.php?option=com_virtuemart [Wed Aug 15 00:23:05 2012] [error] [client 24.178.5.206] File does not exist: /home/woodsb/public_html/404.shtml, referer: https://www.woodsboots.com/index.php?option=com_virtuemart

When SEF is on, I get the following error logs:
[Wed Aug 15 00:03:03 2012] [error] [client 24.178.5.206] File does not exist: /home/woodsb/public_html/templates/_system, referer: https://www.woodsboots.com/index.php/component/virtuemart/cart/editpayment [Wed Aug 15 00:03:03 2012] [error] [client 24.178.5.206] File does not exist: /home/woodsb/public_html/404.shtml, referer: https://www.woodsboots.com/index.php/component/virtuemart/cart/editpayment

Please help me out.  I am COMPLETELY lost here.
To see the issue, please check out: http://www.woodsboots.com/index.php

Thanks for the help!

Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: darkroast on August 28, 2012, 00:45:56 AM
I'm having the same issue. When I try to checkout as a guest, I get to "Select a shipment Method"and select USPS (I have the USPS module installed). I click "Save" and it brings me back to the cart with the notice "Checkout done, please confirm the order." I tick the Terms of Service acceptance checkbox, then click Confirm Purchase. At that point, it takes me right back to the Select a Shipping Method screen.

I really need this fixed. My client is really getting frustrated.
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: alatak on August 28, 2012, 10:35:37 AM
Hello,
Please use  the latest version of USPS plgvm_alatak_usps_vm2.0.8_1.10.zip
If it still does not wrok, Please PM me.
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: darkroast on August 29, 2012, 15:06:18 PM
That's the one I'm using - but I think we found the problem... we just needed to clear out our joomla and browser caches.
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: templeton on September 12, 2012, 19:03:23 PM
Hi,

I am also having this issue.  I am using VM 2.0.10 (latest).  It would seem that after placing an order, and then adding more products and trying to checkout again is the issue.  Somehow I think VM thinks you're already checked out.  If I login, logout and either login again or checkout as a guest it works.

Is this a VM bug?   Session/Order not cleared properly?  Other ideas?  Thanks!

Carlos
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: templeton on September 12, 2012, 19:04:50 PM
Also, I'm simply using a standard shipping and payment option included with VM.

Carlos
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: sagaranvekar on December 12, 2012, 14:18:28 PM
was having same issue, so i used one page checkout component (http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-related-products/14458) and it sorted my issue.  :)
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: toad78 on December 17, 2012, 19:39:04 PM
I, too, am experiencing the same issue using J2.5, VM2.0.14, Authorize.net with UPS shipping modules.

It happens rather sporadically and not to all customers. But it is affecting sales and still is. It doesn't matter which browser users are using since it happens in all browsers.

I've had this posted and was recommended to post it here:

#1: We've been struggling with a variety of customers who click the 'Check Out Now' button sends them back to the Cart page.

We are using J2.5 with VM2.0.14. Not everyone encounters this problem, but there are many customers who do.

Solution?

#2:Talking to more customers, they are able to enter in their payment information, but are being looped back to the Cart page. No error messages are displaying; no other messages displaying.

The client is using Authorize.net as the payment gateway.

Reference: http://forum.virtuemart.net/index.php?action=post;topic=111183.0;last_msg=373202
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: alatak on December 20, 2012, 14:08:00 PM
Hello

The reason why the checkout is looping is that you forgot the instruction <jdoc:include type="message" /> in your template.
When that instruction is not there, no error messages are displayed.
If the transaction is declined by Authorize.net, Virtuemart displays an error like
"This transaction has been declined. (2)
Order not completed, data is not valid
Card Number Invalid",

and returns to the payment page.

If the message is not displayed, then you have the impression that the checkout is looping.
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: toad78 on December 20, 2012, 17:11:09 PM
It looks like things are working well now since we've  added that. No doubt that helps the customer along the way during their checkout process.

A couple of things:
When the 'message' or 'info' appears, I would like to modify that. I do not see anything in the language file(s) to modify.
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: PRO on December 20, 2012, 17:25:42 PM
Quote from: toad78 on December 20, 2012, 17:11:09 PM
It looks like things are working well now since we've  added that. No doubt that helps the customer along the way during their checkout process.

A couple of things:
When the 'message' or 'info' appears, I would like to modify that. I do not see anything in the language file(s) to modify.

http://forum.virtuemart.net/index.php?topic=92944.0

and authorize plugin has its own language file

Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: toad78 on December 20, 2012, 22:58:28 PM
Yes, I've used the Joomla language file extensively; I seemed to have found something in the administrator>components>com_virtuemart>views>user>tmpl>edit.php file that refers to 'Message', which is where I think I need to modify that phrase.
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: orangeterror on December 06, 2013, 23:04:20 PM
I'm having the same problem with confirm purchase looping thru edit payment page.  There error notification message shows up if there is an error such as invalid cc or cvv, however when all the info is correct, it lands on the edit payment page with no notification.

Using Standard VM shipping and Authorize.net
VM 2.024c

I've same problem persist before and after I've installed One-page checkout.  I thought the one-page checkout extension would solve the problem.

http://www.landairsea.com/special-promotion

Willing to pay for a fix if necessary.
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: alatak on December 09, 2013, 11:27:01 AM
Hello
Is it a new problem or you always had that problem?
Do you have the problem with the sandbox or only with your live account?
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: alatak on December 12, 2013, 12:27:15 PM
Hello
Your problem is due to your template which hides the error messages. They are there but underneath the top white banner.
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: FICBA on February 13, 2014, 10:56:20 AM
Hi,

I'm also now experiencing this problem...... I'm using Joomla 2.5.18 and Virtuemart 2.0.26d....this issue only seems to have appeared since updating to 2.0.26d. url of site is www.vo2bikes.co.uk

I have one shipment method, and am using paypal as the payment type.....both are show in the checkout screen as being selected, yet when a user checks to accept terms and clicks checkout they are sent to a page to select a payment type (the paypal radio button is already selected)  and once pressing save the user is then sent back to the Cart page and so the loop begins.

Any help with this major problem would be gratefully received.

Thanks
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: jenkinhill on February 13, 2014, 12:22:11 PM
Turn off one page checkout.   http://forum.virtuemart.net/index.php?topic=121559.0
Title: Re: Virtuemart 2 Checkout Loop (Using Authorize.net)
Post by: jus2sho on February 16, 2014, 20:19:49 PM
Turning off OPC fixes the loop issue, however, when the customer clicks the "Check Out Now" button, the next screen is the exact same screen.  The only difference is the customer needs to click the "Confirm Purchase" button to proceed to the payment screen.  Is there a way to skip/bypass this confirmation screen and go directly to the payment screen?