3

I have an Exp:resso store setup based off of the example templates bundled with the software. I'm using Stripe.com as my payment gateway, in test mode.

Problem:

After submitting a payment, checkout page 3 returns to itself without proceeding to the return="shop/order/ORDER_HASH".

This is the response that I see in my Stripe control panel.

The site is available at: http://74.52.63.240/shop/product/alessandra (sorry, stackexchange won't link to an IP address)

There is an SSL cert installed for https://taliahancock.com. For testing purposes, I have my hosts file set to 74.52.63.240 taliahancock.com.

Help is much appreciated. This is my first time using both Exp:resso store and Stripe.

8
  • What javascript are you using to submit the Stripe payment? When you put {error:payment_method} in your template what does it show? Apr 16, 2013 at 9:19
  • The script that I'm using is too long to post in a comment here, it's at the very bottom of the checkout3 page. Here's a link to it. Apr 17, 2013 at 0:42
  • I have the {error:payment_method} tag in the checkout3 template, but it doesn't display anything. Apr 17, 2013 at 0:44
  • I've turned off the require SSL option in the store now, so you can view the checkout without having to be on the domain name. This doesn't seem to solve any of the return problems though. Apr 17, 2013 at 1:09
  • Can you try removing error_handling="inline" from your final checkout tag? I think there must be an error message which is not being displayed. Apr 17, 2013 at 12:57

1 Answer 1

1

To submit the order, your "Place Order" button needs to have name="submit" attached to it. This is so that Store can distinguish it from simply an "Update Totals" button, or a "Next Step" button. Currently it's being treated as an "Update Totals" button.

For example, in your checkout template, change:

<button id="checkout_submit">Place Order</button>

to:

<button id="checkout_submit" name="submit">Place Order</button>

or alternatively:

<input type="submit" id="checkout_submit" name="submit" value="Place Order" />

Documentation here: https://exp-resso.com/docs/store/checkout_tag.html#submitting_orders

2
  • I'm running into this issue as well. I'm using commit instead of submit as mentioned in your docs. Is there anything else that wouldn't allow it to redirect? <input type="submit" name="commit" class="button large left place-order" value="Place Order" />
    – Bryant
    Aug 8, 2013 at 22:03
  • If it's still not redirecting, it means there is an error on the page which isn't displaying. Try removing error_handling="inline" from your checkout tag. Aug 8, 2013 at 22:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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