Sign direct debit in pop up
Use this guide if you want users to sign Direct Debits in a pop up window

If you want to launch direct debit in a new window, for example if you are doing it as part of a sign up or contracting process.
To launch your direct debit mandate, use must use the following code:
window.open(
"https://console.adfin.com/dd-mandate/%3Cid%3E?mode=popup"
)
How to build the URI:
Base URL | Query Paramater |
---|---|
console.adfin.com/dd-mandate/id | ?mode=popup |
Generated from when you create a direct debit request | The UI will launch a |
Adfin will call window.close
automatically when the user clicks the "Close the window button".
You must use window.open and use query param = popup
You must launch with pop up with window.open() as otherwise the browser will not give permission for Adfin to close the window.
Edge case handling
If the page does not close, Adfin will show copy saying that we are unable to close the window, and the user should close it and return to their previous browser.
Updated 25 days ago