lib/generators/templates/assets/credit_card_form.js in veritrans-2.0.4 vs lib/generators/templates/assets/credit_card_form.js in veritrans-2.1.0

- old
+ new

@@ -23,11 +23,12 @@ var button = $(form).find('input[type=submit]:last'); var buttonValBefore = button.val(); button.val("Processing ..."); Veritrans.token(VT_createTokenData, function (data) { - // console.log('Get token response:'); - // console.log(data); + //console.log('Get token response:'); + //console.log(JSON.stringify(VT_createTokenData())); + //console.log(JSON.stringify(data)); // if we get redirect_url then it's 3d-secure transaction // so we need to open that page // this callback function will be called again after user confirm 3d-secure // you can also redirect on server side \ No newline at end of file