This commit is contained in:
John Yeo
2026-01-14 15:15:18 +00:00
parent 3ba48cfddb
commit b4e5edb2d4
73 changed files with 2908 additions and 822 deletions

View File

@@ -14,6 +14,8 @@ export const completeInvoiceCheckout = async ({
url: string;
isLocal?: boolean;
}) => {
console.log("[completeInvoiceCheckout] Starting invoice checkout...");
let browser: Browser;
browser = await puppeteer.launch({
@@ -183,6 +185,7 @@ export const completeInvoiceCheckout = async ({
}
}
await timeout(20000);
console.log("[completeInvoiceCheckout] Invoice checkout completed");
} finally {
// always close browser
await browser.close();