News:

Looking for documentation? Take a look on our wiki

Main Menu

Cannot get 'Check out Now' button to change to Confirm Order

Started by smusselm, January 05, 2021, 21:43:16 PM

Previous topic - Next topic

smusselm

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>

smusselm

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

AH

Regards
A

Joomla 4.4.5
php 8.1