|
|
|
@ -14,8 +14,8 @@ $(function () {
|
|
|
|
|
if (res.sdk_params) {
|
|
|
|
|
let threeDsParams = JSON.parse(res.sdk_params);
|
|
|
|
|
let form = $('<form></form>').attr('action', threeDsParams.acs_url).attr('method', 'post').css('display', 'none');
|
|
|
|
|
$('<input>').attr('name', 'paReq').val(threeDsParams.pa_req).attr('type', 'hidden').appendTo(form);
|
|
|
|
|
$('<input>').attr('name', 'TermURL').val(threeDsParams.term_url).attr('type', 'hidden').appendTo(form);
|
|
|
|
|
$('<input>').attr('name', 'PaReq').val(threeDsParams.pa_req).attr('type', 'hidden').appendTo(form);
|
|
|
|
|
$('<input>').attr('name', 'TermUrl').val(threeDsParams.term_url).attr('type', 'hidden').appendTo(form);
|
|
|
|
|
$('body').append(form);
|
|
|
|
|
form.submit();
|
|
|
|
|
return;
|
|
|
|
|