fix tpv error in last commit

parent 3b69f84d
Showing with 1 additions and 1 deletions
......@@ -34,7 +34,7 @@ function encodeMerchantParams(object) {
function decodeMerchantParams(string) {
// Base64 encoding of parameters
var merchantWordArray = decodeURI(cryptojs.enc.Base64.parse(string));
var merchantWordArray = cryptojs.enc.Base64.parse(string);
return JSON.parse(decodeURIComponent(merchantWordArray.toString(cryptojs.enc.Utf8)));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment