From 1cdeb81e3157e353728b2eb3beb9ad6532b900cd Mon Sep 17 00:00:00 2001 From: tripathyr Date: Mon, 21 Oct 2024 17:20:10 +0530 Subject: [PATCH] fixing user UPI decryption error UPI ID is encrypted using the cashier public key, and when user decrypts it from transaction records, it will not decrypt properly. To fix it, we will just tell the user your UPI ID if decryption fails --- index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 6447f98..d2c3276 100644 --- a/index.html +++ b/index.html @@ -2157,8 +2157,7 @@ try { upiID = floDapps.user.decrypt(upi_id); } catch (error) { - console.error("UPI ID is not encrypted with a proper key", error); - return notify("UPI ID is not encrypted with a proper key", 'error'); + upiID = "your UPI ID"; } } else upiID = upi_id; @@ -4484,4 +4483,4 @@ - \ No newline at end of file +