existing subscription validation 9
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user