I actually had both to no avail. The $ContinueProcessing still went to the
thank you page, so I put in $SCREEN="order_info". This just errors. I
assume that since the order had been submitted it can't be changed. I need
to go to a screen that allows them the option to change the card.
At 05:01 PM 01/27/2000 +0900, you wrote:
>Jon,
> Right off the bat, I see that you are using $continueScript rather than
>$ContinueProcessing. Could that be your problem? Or are you intentionally
>trying to use two different flags?
>
>Leif
>
>Jon Griffin wrote:
>
> > I will post the script when I have it more solid. It works now but the
> > error checking isn't there. It is a modification of a script on php
> > exchange. I have made it more generic and am adding more error checking.
> >
> > I am having a conceptual problem though with SUBMIT_ORDER. This is the
> > logical place to put the call to the cybercash script. I put it right
> > before the sending of email.
> > This works fine if everything goes according to plan, but if there is an
> > error I need to redirect to another page.
> >
> > To show this:
> > ...................
> > $billingAddress = getAddress($AddressID);
> > }
> >
> > // add for cyber cash
> > /*
> > require ("/home//htdocs/cbsend.php3");
> > global $MStatus;
> > if($MStatus == "success" OR $MStatus == "success-duplicate")
> > {
> > $ActionResults .= "Credit card authorized and billed!<br>";
> > $continueScript = TRUE;
> > } else
> > {
> > $ActionResults .= "Credit card not authorized<br>";
> > $continueScript = FALSE;
> > }
> > */
> > // end processing
> >
> > if($ContinueProcessing)
> > {
> > //send confirmation email
> > if((SEND_EMAIL) AND
> validateEmail($billingAddress["Email"]))
> > {
> > ...............
> > I can never get the ActionResults to post and it always continues. Any
> clues?
> > Thanks,
> > Jon Griffin
> > [EMAIL PROTECTED]
> >
> > Check out:
> > <http://www.salsablanca.com>
> > <http://www.jongriffin.com>
> >
> > ------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Site: http://www.working-dogs.com/freetrade/
> > Problems?: [EMAIL PROTECTED]
>
>--
>-----------------------------------------------
>Leif Mortenson
>
>Silver Egg Technology
>Kondo Ebisu Bldg. 802
>1-20-8 Ebisu-nishi
>Shibuya-ku, Tokyo 150-0021 JAPAN
>
>Tel: 03-5456-8044
>Fax: 03-3462-5045
>Email: [EMAIL PROTECTED]
>URL: http://www.silveregg.co.jp
>-----------------------------------------------
>
>
>
>
>------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Site: http://www.working-dogs.com/freetrade/
>Problems?: [EMAIL PROTECTED]
Thanks,
Jon Griffin
[EMAIL PROTECTED]
Check out:
<http://www.salsablanca.com>
<http://www.jongriffin.com>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]