0

Trying to submit an order, though I can't seem to get it to forward to the return path.

Here's my tag:

{exp:store:checkout require="name|address1|state|country|postcode|order_email" return="/checkout/order-complete/ORDER_HASH" form_class="form"}

I've seen this post, and it behaves exactly the same, though I do have a name attribute set & that doesn't make a difference :(

Order Confirmation page

Tried both a button element & an input (like the docs use) no difference...

<button class="cta" type="submit" name="submit">Pay Now</button>

Seems like my post request is 302ing...

post request 302s

Seems like the params are set twice in my post data? Maybe it's being overwritten?

post data from the 302

I've tried this with both relative & absolute paths in the return param on the checkout tag. No difference. The order gets submitted, cart gets emptied and it reloads the page /checkout/review-and-pay.

  • Have you checked for any errors on the page you are leaving? Presumably that’s the /review-and-pay/ template, and it might be sending you back because of unhanded errors. – 3Easy Feb 10 '15 at 23:49
  • That was it! didn't have {error:payment_method} on the page & it was trying to tell me something is up. – joe Feb 11 '15 at 9:09
0

Always check for errors; turn inline error handling off first (for a quick test) then turn inline back on and ensure you have error handling on (every required field, etc). A return to a page usually indicates an unhandled form error.

|improve this answer|||||
0

Didn't have {error:payment_method} on the page & it was trying to tell me something is up.

|improve this answer|||||

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.