Hi ya
Just ammended the OrderScript.pl perl module to have a maxium transaction value.
Added in:
if ($nTotal > 45000)
{
return ($::FAILURE, "For orders over £450 please contact -- sales@flash-card-store.co.uk");
}
This works a treat -- however the error page is basic. What I would like to do is to direct to an HTML page so I can format it correctly.
Is this possible via modifying the FAILURE code???
Cheers
Just ammended the OrderScript.pl perl module to have a maxium transaction value.
Added in:
if ($nTotal > 45000)
{
return ($::FAILURE, "For orders over £450 please contact -- sales@flash-card-store.co.uk");
}
This works a treat -- however the error page is basic. What I would like to do is to direct to an HTML page so I can format it correctly.
Is this possible via modifying the FAILURE code???
Cheers
Comment