Maths Tutors, English Tutors Maths Tutors, English Tutors

Card Payments

function errorCallback(error) { console.log(JSON.stringify(error)); } function cancelCallback() { console.log('Payment cancelled'); confirm('Are you sure you want to cancel?'); // code to manage payer interaction } Checkout.configure({ merchant: 'TESTFUSTUTCOM201', order: { amount: function() { //Dynamic calculation of amount var value = document.getElementById('field_fwr9c').value; return value; }, currency: 'AUD', description: function() { var descript = document.getElementById('field_dgun7').value; return descript; }, id: function() { var cpid = document.getElementById('field_r2uqr').value; return cpid; }, }, interaction: { merchant: { name: 'Fuse Tutor', address: { line1: 'Suite 8 - 585 Little Collins Street', line2: 'Melbourne VIC 3000' }, phone: '1300 855 688', logo: 'https://www.fusetutor.com/wp-content/uploads/2014/04/Fuse-Tutor-Logo-Small.png' }, displayControl: { billingAddress : 'HIDE', customerEmail : 'HIDE', orderSummary : 'SHOW', shipping : 'HIDE' } } });
Card Payments