Forums / General Questions / Send order-comfirmation on accept-page, not on the paymentcard form page. (epay)

Send order-comfirmation on accept-page, not on the paymentcard form page. (epay)

Locked

Views: 1,196

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
6 Jun 2007, 3:46 PM
#1
code_fanatic avatar

code_fanatic

New Zenner

Join Date:
Jun 2007
Location:
Denmark Fyn
Posts:
1
Plugin Contributions:
0

Send order-comfirmation on accept-page, not on the paymentcard form page. (epay)

First of all surprising how much the Zen-team are doing to make a world a better place to be in.

Thx 2 you all for all of your efforts! I love to donate when I'm done with my education.

Bear with me, It is the first time that I make a post in this forum, after having used both the forum and the FAQ many times with great succes, ( helped me a whole lot - Thx ! )

But one thing that I have searched for I didn't find.

I'm using zencart v. 1.3.7 with a few mods ( epay.dk, danish paymentgateway where I have downloaded a mod for zencart 1.3.6 which I modified a bit so that it works with 1.3.7 ) on apache 2.2.4 and php 5.2.1, MySQL 5.0.37, and mercurymail on win2003 server on a local test enviroment.

Link to the mod -> http://www.epay.dk/support/download.asp?file=zencart

I really need your help to get zencart to send the confirmation-mail from the accept-page when a credit-card returns as valid.

I have tried for days in order to make it work, but without any succes, in admin Send E-Mail is set to true, and send mail works fine, but not from the step I want.

Steps:

    1. checkout_shipping (dont send mail)
    1. checkout_payment (dont send mail)
    1. checkout_confirmation (dont send mail)
    1. epay_form (dont send mail)
  • On this step we go out to our payment-gateway ( verifying that the creditcard is valid ).
  • and if it returns true (OK) the costumer gets the checkout_epay_accept_page, where I want it to send out the confirmation-email to the costumers, but I cant seem to get it to do that.

All this is just so that the costumers doesnt think that everything is ok ( recieved confirmation-mail to soon ) when it's not the case.

The epay_form calls in the header (header_php.php) require(DIR_WS_MODULES . 'checkout_process.php'); and somewhere in there it sends the mail.

Is it possible for me to call for the send mail function in the accept_page header_php.php ?

I hope that you can help me, nice day to you all.
Yours faithfully
Code Fanatic

The only true force - is the creation of opensource.