0

When a user purchases a product they are redirected to the Home page of: return="/shop/order_complete/ORDER_HASH"

They are also returned to the site logged out.

Checkout code

{exp:store:checkout
    payment_method="PayPal_Express"
    return="/shop/order_complete/ORDER_HASH"
    next="/shop/checkout"
}
  {!-- usual stuff, removed for example --}
{/exp:store:checkout}

I can't see anything in my htaccess file that could be causing this issue.

Any ideas?

  • Which version of EE and Store? – Adrian Macneil May 8 '14 at 15:19
  • latest version of both. – magicspon May 8 '14 at 18:09
  • I'd imagine it's probably to do with those leading forward slashes in your paths. Take those away and give it another try. – Ian May 8 '14 at 19:34
  • Hello, Just taken the slashes out, still redirected to the home page but I did see a flash of an ACT= type url. I'm not great with htaccess, but this should stop ACT= urls being redirect right? RewriteCond ^(.*)$ !^ACT=.*$ [NC] thanks – magicspon May 8 '14 at 20:23
  • I've just tried disabling htaccess altogether and I've still got this issue. Everything was working locally. But now it's not on the staging domain. – magicspon May 9 '14 at 10:12
2

It turned out that a rogue index.html file with a redirect inside was the issue.

<title>Redirect</title>
<meta http-equiv="refresh" content="0; url=index.php">

Everything hitting the root was being redirected so the ACTion ID's weren't able to process (which is pretty critical for Store payments to process). Removing this file resolved the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.