I initially set up my site to work with authorize.net after clicking the submit button on checkout.html, which worked fine. However, I now need an email confirmation, so I've had to set the form action to checkoutnew.pl. I am getting email confirmations, but with missing information.
This is my site:
These are the issues I'm having:
1. The perl document is not receiving the product values (quantity, price, item, etc), therefore they are missing in the email confirmation. Customer info goes through fine. (I've searched the forum, found no clear answer to this, used formprocessor.php, still have a problem).
2. The perl opens up a new window to authorize.net's secure form. It was fine before I added the email confirmation, but now I get a error 13 saying "The merchant login ID or password is invalid or the account is inactive." How do I get perl to pass the login and password?
3. The window does not refresh back to checkoutdone.html (the thank you page) once the submit button has been clicked.
The outcome I'd like:
From checkout.html, customer clicks submit. Perl document sends email confirmation to customer and company with product info. The window refreshes to thank you (checkoutdone.html), while a new window navigates to authorize.net with form values from checkout.html, where customer completes order.
The perl form is attached. Any help is greatly appreciated. And if what I'm asking isn't possible, that'd be great to know too.