I suggest the following: replace all instances of $ContinueProcessing
with $continueScript just to avoid confusion. Then use the following
pseudo-code:
if (!cybercashOk)
{
$continueScript = FALSE;
$SCREEN = "desiredFixItScreen";
$ActionResults = "Your card was not authorized.";
}
...
if ($continueScript)
...
-jj
> 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.
> > > $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"]))
> > > {
--
Shannon -jj Behrens * Web Engineer * CLEAR INK�
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]