fixing user UPI decryption error
Some checks failed
Workflow push to Dappbundle / Build (push) Has been cancelled
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:
parent
e5a7d1ddc0
commit
1cdeb81e31
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user