on the confirm page, i added the following code for the gateway credentials to work:
<?php require_once("webassist/ecart/checkout/credentials/gateways.php"); ?>
the checkout is now going to sage pay with the message:
Status: INVALID
Status Detail: 3087 : The SuccessURL format is invalid.
the success and failure URLS are not right:
<input id="SuccessURL" name="SuccessURL" type="hidden" value="<?php echo("checkout_success.php"); ?>" />
<input id="FailureURL" name="FailureURL" type="hidden" value="<?php echo("checkout_failure.php"); ?>" />
they need to full URLS back to the site, and they don't need to use PHP echo::
<input id="SuccessURL" name="SuccessURL" type="hidden" value="http://www.craftuk.net/test/checkout_success.php" />
<input id="FailureURL" name="FailureURL" type="hidden" value="http://www.craftuk.net/test/checkout_failure.php" />