PDA

View Full Version : Emailing Confirmation Before Order Processed


nickstiles
February 6th, 2004, 02:38 AM
I'm using V1.2, I've modified the 2checkout.php payment gateway configuration file to suit the processing parameters for InternetSecure. I've read other posts that discuss how the 2checkout.php payment gateway emails off an order confirmation even if the customer doesn't get to the point of submitting credit card info at 2Checkout.

How do I stop Squirrelcart from emailing an order confirmation before the order even happens?

thanks

Jamie
February 14th, 2004, 01:24 PM
Hi,

You need to check "Return to Storefront" on the payment gateway record. If it is unchecked, the cart assumes the gateway has no way to report back to the cart that a transaction was approved, so it has to assume an order was placed. Checking the box will make it so that the cart will only empty, send emails, and place the order in the DB when the customer is sent to the URL:

http://yoursite.com/store.php?cc_return=1

If they are sent to:

http://yoursite.com/store.php?cc_return=2

They get a declined message.

Thanks,
Jamie