Problems with Perl integration

Get help with nopcart Perl, PHP or ASP checkout related issues.

Moderators: Koibito, Stefko, Randy

Problems with Perl integration

Postby amchavez » Wed Sep 02, 2009 5:40 am

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:
saysumthin.com

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.
Attachments
checkoutnew.txt
Here is the perl document I've modified for my site:
(25.07 KiB) Downloaded 124 times
amchavez
WebMaster
 
Posts: 4
Joined: Wed Jul 01, 2009 5:45 pm

Return to Help: Perl/PHP/ASP Checkout

Who is online

Users browsing this forum: No registered users and 1 guest

cron