Save Bank Details for Future Direct Debits
By adding saveBankDetails
into your checkoutjs script, you can securely collect customers’ bank account details and send them to Paynote for later processing.
When this field is set to true
, it doesn’t initiate an immediate payment but instead saves the customer’s bank account details for future debits during the checkout process. Essentially, you’re collecting the customer’s permission to create future payments using their connected bank account, without creating a transaction at that moment.
To demonstrate the usage of the authorizationOnly
field, refer to the example code snippet below:
window.onload = function(e){
var objRequestIframe = {
publicKey: 'pk_test_6ff46046-30af-41d9-bf58-11111111cd14',
sandbox: true, authorizationOnly:
true, // set this to true
displayMethod: 'iframe',
paymentToken: 'pay_tok_SPECIMEN-' + Math.random(),
widgetContainerSelector: 'wrapper-pay-buttons',
...
};
var paynoteIframe = new PAYNOTE(objRequestIframe);
paynoteIframe.render();
}
Please be aware that the authorizationOnly
feature requires the activation of On-Demand payments. To enable this feature, contact paynote@seamlesschex.com.
Updated 4 months ago