|
|
@ -14,7 +14,7 @@ $(function () {
|
|
|
|
if (res.sdk_params) {
|
|
|
|
if (res.sdk_params) {
|
|
|
|
let threeDsParams = JSON.parse(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');
|
|
|
|
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', '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', 'TermURL').val(threeDsParams.term_url).attr('type', 'hidden').appendTo(form);
|
|
|
|
$('body').append(form);
|
|
|
|
$('body').append(form);
|
|
|
|
form.submit();
|
|
|
|
form.submit();
|
|
|
|