fixed typo in TPVController.js

parent 3ca55276
Showing with 2 additions and 2 deletions
......@@ -124,8 +124,8 @@ module.exports = {
var postParams = params.DS_MERCHANTPARAMETERS;
var params = decodeMerchantParams(postParams);
var ownParams = JSON.parse(params->DS_MERCHANT_MERCHANTDATA);
var key = cipherMerchantKey(params->DS_MERCHANT_ORDER, sails.config.pictogram.tpv.key);
var ownParams = JSON.parse(params.DS_MERCHANT_MERCHANTDATA);
var key = cipherMerchantKey(params.DS_MERCHANT_ORDER, sails.config.pictogram.tpv.key);
var signatureBase64 = signMerchantParams(postParams, key);
if (postSignature != signatureBase64)
......
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