Payments

Welcome to the Cooper Mills Secure Online Payment Page – To pay an invoice just enter your bill number and the amount you wish to pay, then press the Pay button. You will then be prompted to enter your credit card details into the secure Eway payment page. We DO NOT store credit card details on our website.

Success  
Error  

function resultCallback(result, transactionID, errors) {
$(‘button.btn-success’).html(“Pay”);
if (result == “Complete”) {
$(‘.alert-success’).show();
$(‘.alert-success > span.message’).text(“Payment complete! eWAY Transaction ID: ” + transactionID);
} else if (result == “Error”) {
$(‘.alert-danger’).show();
$(‘.alert-danger > span.message’).text(“Unfortunately, there is a problem and your payment could not be processed: completing the payment: ” + errors);
}
}
$(‘form.form-payment’).on(‘submit’,function(){
$(‘.alert’).hide();
$(‘button.btn-success’).html(“Please wait…”);
$.post(“/eway/process.php”, $(this).serialize())
.done(function(result){
var data = JSON.parse(result);
if(data.error){
$(‘.alert-danger’).show();
$(‘.alert-danger > span.message’).text(“Unfortunately, there is a problem and your payment could not be processed:: ” + data.error);
$(‘button.btn-success’).html(“Pay”);
return false;
}
if(data.redirectUrl !== undefined || data.redirectUrl.length > 0){
var eWAYConfig = {
sharedPaymentUrl: data.redirectUrl
};
eCrypt.showModalPayment(eWAYConfig, resultCallback);
}
});
return false;
});

Some of the clients we have worked with