Payment response

[php]
require_once(“payment/config.php”);
require_once(“payment/connect.php”);
if (isset($_REQUEST['ref']) && isset($_REQUEST['res'])) {
if ($_REQUEST['res']==1) {
print (“Thank you for your registration.
Your payment is registered (reference: “.$_REQUEST['ref'].”) and a confirmation email has been sent to your address.”);
} else {
print (“Your payment has been canceled (reference: “.$_REQUEST['ref'].”).
You will receive an email with the details of your registration: please submit your registration again. You can either try to pay by credit card or choose another means of payment.
If you are experiencing difficulties, please feel free to contact us at: “.$contact_email.”.”);
}
}
print(“

JdS main page
“);
print(“
Registration form
“);
[/php]