Monday 26 February 2007 10:08:56 am
hi there, I wrote an extension for the payment service firstgate. i will publish it to the contributsions if it works perfectly. It works as long as I don't start any workflow after checkout because the firstgate server expects something like www.myserver.com/index.php/?result=success. in my script it says
$checker->approvePayment();
.
.
.
if($result)
{
$logger->writeTimedString($localHost.$indexDir .$successURL.$orderID."/?result=success¶meters=", 'notify_url.php was propertly ended' );
$sURL=$localHost.$indexDir .$successURL.$orderID."/?result=success¶meters=";
header("Location: $sURL");
}
else {
$logger->writeTimedString($localHost.$indexDir .$errorURL."/?result=error¶meters=", 'error' );
$eURL=$localHost.$indexDir .$errorURL."/?result=error¶meters=";
header("Location: $eURL");
}
if i have any workflow after checkout, the header() commands don' t get executed! any ideas? thanx.
---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.
|