2 forms with eCart not working
I have 2 forms on one eCart 'confirm' page - the first sends the order details through to a secure payment gateway and inserts the contents into my database absolutely fine, and also sends the confirmation email with the cart display in it to the buyer and me - all good.
I have a second form on the page which is intended simply to email the cart contents to the buyer without paying (but still insert the information into the orders database) - weird I know but that's what the customer wants - as a pre-priced enquiry.
The issue - when the second form is submitted it hangs for a while, does not send the email and only inserts partial info into my database.
Then instead of going to the GoTo page as set, it returns to my cart!
I have raked through the forum and made sure that the form triggers are separate, and the second form (the one that does not go to the gateway) is the only one with a 'GoTo' page set.
Obviously the first form has its action set to the gateway, the second one has no action set.
Anyone shed any light on this please?
The code looks right as far as I can see.
Any help would be appreciated
File attached for reference