From 3cab0dbbc4be5ed9487bfa4d03856821bbdbf506 Mon Sep 17 00:00:00 2001 From: rizwanisready Date: Fri, 24 May 2024 21:51:07 +0530 Subject: [PATCH] existing subscription validation 9 --- templates/stripe_html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/stripe_html/index.html b/templates/stripe_html/index.html index 42b505e..01f07b6 100644 --- a/templates/stripe_html/index.html +++ b/templates/stripe_html/index.html @@ -547,7 +547,7 @@ }) .catch((error) => { console.error("Error:", error); - const errorMessageElement = document.getElementById('error-message'); + const errorMessageElement = document.getElementById('already-active-subscription'); if (errorMessageElement) { errorMessageElement.innerText = "Error: " + error.message; // Display the error in the specific div errorMessageElement.style.color = 'red'; // Set text color to red