feat(checkbook_io): connector integrate ACH (#8730)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Nithin N
2025-08-08 18:18:14 +05:30
committed by GitHub
parent 3547eac397
commit bee4aed40c
25 changed files with 584 additions and 615 deletions

View File

@ -1892,6 +1892,18 @@ Cypress.Commands.add(
);
globalState.set("nextActionType", "image_data_url");
}
break;
case "ach":
if (
response.body.next_action
?.bank_transfer_steps_and_charges_details != null
) {
globalState.set(
"nextActionType",
"bank_transfer_steps_and_charges_details"
);
}
break;
default:
expect(response.body)
@ -3231,7 +3243,12 @@ Cypress.Commands.add(
const nextActionType = globalState.get("nextActionType");
const expectedUrl = new URL(expectedRedirection);
const redirectionUrl = new URL(nextActionUrl);
let redirectionUrl = null;
try {
redirectionUrl = new URL(nextActionUrl);
} catch {
/* banktransfer may not have redirection url */
}
handleRedirection(
"bank_transfer",