Jump to content

Guest Checkout - Not working


Recommended Posts

Hi

 

I enabled guest checkout in preferences and it became an option in the checkout area. I filled in my details and clicked continue and it gets the following error message.

 

"This webpage has a redirect loop

The webpage at http://farmlandfoods.co.uk/order.php?step=2 has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer."

Can anyone help please. Am I missing something?

Link to comment
Share on other sites

Unofficial solution is here:

open file controllers/OrderController.php and delete line 110 ($this->_assignAddress()

 

Try the above first. If that dosen’t work, read on.

 

That seems to work for most people. But it did not work for me. In my case I have two payment processers, Paypal and a credit card option. When I clicked on Paypal it worked! When I clicked on credit card it would clear the form and not go to the payment form.

 

I noticed that if I hold my mouse over the payment selectors I could see the name of the php payment pages.

 

For PayPal it is - modules/paypal/payment/submit.php

 

For my Credit Cards it is modules/creditcardpayment/payment.php

 

I compared the two and found that Paypal had this,

if (!$cookie->isLogged(true))

 

And my credit card was only this,

if (!$cookie->isLogged())

 

I added the “true” to my Credit Card php and that fixed it for me.

Link to comment
Share on other sites

×
×
  • Create New...