| Project: | Ubercart Contributions |
| Component: | Code |
| Category: | |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hi,
In setting up a fresh install to test a module I'm developing, I ran into the following problem:
Every time I tried to submit an order on the order review page, it would just take me back to my shopping cart and not process the order. I think I tracked it down to this:
Line 1608 of uc_cart.module:
case variable_get('uc_checkout_submit_button', t('Submit order')):
It's checking for "Submit order" by default, but the default is actually "Submit Order" on a fresh install. Just saving the settings on the page admin/store/settings/checkout/edit is enough to fix this problem, so most people probably never run into this, but it had me stumped for a little while!
I think just changing that line to "Submit Order" will solve this issue.
Best,
Chad


