A self-hosted UPI & COD payment gateway with zero per-transaction platform fees, universal JavaScript checkout integration, dynamic QR payments, WhatsApp OTP authentication, and automated payment verification.
JavaScript
fix(checkout): bind Start New Payment button to handleRetryNewPayment
Vinoth Kumar2e483fceaa91
diff --git a/apps/checkout-portal/public/js/checkout.js b/apps/checkout-portal/public/js/checkout.jsindex 3a0fa22..26251b1 100644--- a/apps/checkout-portal/public/js/checkout.js+++ b/apps/checkout-portal/public/js/checkout.js@@ -1868,7 +1868,7 @@const btnAction = document.getElementById('btnFailedAction');if (btnAction) {btnAction.textContent = isExpired ? 'Start New Payment' : 'Try Again';- btnAction.onclick = () => retryNewPayment();+ btnAction.onclick = () => handleRetryNewPayment();}return;}diff --git a/apps/checkout-portal/src/views/checkout.html b/apps/checkout-portal/src/views/checkout.htmlindex 42acacd..85fcc2f 100644--- a/apps/checkout-portal/src/views/checkout.html+++ b/apps/checkout-portal/src/views/checkout.html@@ -1929,7 +1929,7 @@const btnAction = document.getElementById('btnFailedAction');if (btnAction) {btnAction.textContent = isExpired ? 'Start New Payment' : 'Try Again';- btnAction.onclick = () => retryNewPayment();+ btnAction.onclick = () => handleRetryNewPayment();}return;}