From 790b98dfc659e20cbafbe4bf3173fba6ffb14b4d Mon Sep 17 00:00:00 2001 From: yixian Date: Wed, 29 Jul 2020 16:53:46 +1000 Subject: [PATCH] hotfix 3-ds --- src/main/ui/static/templates/payment/v1/card_pay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/ui/static/templates/payment/v1/card_pay.js b/src/main/ui/static/templates/payment/v1/card_pay.js index d72a080dc..28bcfcc6d 100644 --- a/src/main/ui/static/templates/payment/v1/card_pay.js +++ b/src/main/ui/static/templates/payment/v1/card_pay.js @@ -14,7 +14,7 @@ $(function () { if (res.sdk_params) { let threeDsParams = JSON.parse(res.sdk_params); let form = $('
').attr('action', threeDsParams.acs_url).attr('method', 'post').css('display', 'none'); - $('').attr('name', 'PaReq').val(threeDsParams.pa_req).attr('type', 'hidden').appendTo(form); + $('').attr('name', 'paReq').val(threeDsParams.pa_req).attr('type', 'hidden').appendTo(form); $('').attr('name', 'TermURL').val(threeDsParams.term_url).attr('type', 'hidden').appendTo(form); $('body').append(form); form.submit();