VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: smusselm on January 05, 2021, 21:43:16 PM

Title: Cannot get 'Check out Now' button to change to Confirm Order
Post by: smusselm on January 05, 2021, 21:43:16 PM
I have a test site (behind a firewall) and a live site. Both use the same Virtuemart and custom code. But, the test site works and the live site does not.  The only major difference between the two is that the live site uses SSL, but I suspect that isn't the issue. Please help.

Is there a checklist of items that need to occur before an order can be confirmed?

- Address has been entered
- Shipment method has been selected
- Payment method has been selected
- There are no JS errors in the console
Perhaps it's more technical and something is being dropped or left out of the $cart object?

Joomla Version: 3.9.23 Stable
Virtuemart Version: 3.8.6 10373
PHP Version: 7.4.13

I tried creating basic shipment and payment methods with no criteria, and I still could not get the button to change.

The button code is: <button type="submit" id="checkoutFormSubmit" name="checkout" value="1" class="vm-button-correct" data-dynamic-update="1"><span>Check Out Now</span> </button>
Title: Re: Cannot get 'Check out Now' button to change to Confirm Order
Post by: smusselm on January 05, 2021, 23:49:14 PM
I figured it out. It was simple - like it usually is.  :-[

I had the TOS set as 1 as default.  But, I also had TOS as 'required'. So, while it was 'checked', it wasn't meeting the cart requirements.

Upside is that I found and solved a few other errors in the process.  :o
Title: Re: Cannot get 'Check out Now' button to change to Confirm Order
Post by: AH on January 06, 2021, 10:57:39 AM
thanks for the update