fixing user UPI decryption error
Some checks failed
Workflow push to Dappbundle / Build (push) Has been cancelled

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
This commit is contained in:
tripathyr 2024-10-21 17:20:10 +05:30 committed by GitHub
parent e5a7d1ddc0
commit 1cdeb81e31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 @@
</script>
</body>
</html>
</html>