|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
$(function () {
|
|
|
|
|
let $container = $('.card-input-box')[0];
|
|
|
|
|
let ctrl = {ready: false, pending: false}
|
|
|
|
|
let cardFrame = window.channel_account_id ? new TokenInputFrame($container, window.channel_account_id) : new CardInputFrame($container);
|
|
|
|
|
let cardFrame = new CardInputFrame($container, window.card_input_appid, window.card_input_token);
|
|
|
|
|
let $errorMsgBox = $('#errorMsgBox');
|
|
|
|
|
let loading = $('.loading-container');
|
|
|
|
|
cardFrame.onSuccess = function (secretData) {
|
|
|
|
|