File: D:/HostingSpaces/SBogers10/deensekroon.komma-mediadesign.nl/wwwroot/multisafepay/status.php
<?php
include('MultiSafepay.class.php');
include('MultiSafepay.config.php');
$msp = new MultiSafepay();
/*
* Merchant Settings
*/
$msp->test = MSP_TEST_API;
$msp->merchant['account_id'] = MSP_ACCOUNT_ID;
$msp->merchant['site_id'] = MSP_SITE_ID;
$msp->merchant['site_code'] = MSP_SITE_CODE;
$msp->merchant['notification_url'] = BASE_URL . 'multisafepay/notify.php?type=initial';
$msp->merchant['cancel_url'] = BASE_URL . 'index.php';
// optional automatic redirect back to the shop:
$msp->merchant['redirect_url'] = BASE_URL . 'return.php';
$msp->transaction['id'] = '820317051';
$status = $msp->getStatus();
if($msp->error){
$output = $msp->error;
}
else{
$output = 'Order Status:'.$status;
}
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Untitled Document</title>
</head>
<body>
<?php
echo $output;
?>
</body>
</html>