Direct Debits / Credits / Subscriptions
Paynote Checkout.JS serves as a convenient option for bank payment checkouts, allowing customers to pay directly from their bank accounts via Plaid. By integrating the API into your checkout page, you can securely collect customers’ bank account details and send them to Paynote for processing. One notable feature of the Checkout.JS API is the authorizationOnly
field.
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();
}
Feel free to reach out to paynote@seamlesschex.com with any questions.
Updated 4 months ago