var tokenRequest = function () { // Setup token request arguments var args = { sellerId: "mysellerId from 2checkout", publishableKey: "mypublishablekey", ccNo: $("#ccNo").val(), cvv: $("#cvv").val(), expMonth: $("#expMonth").val(), expYear: $("#expYear").val() }; var errorCallback = function (data) { if (data.errorCode === 200) { tokenRequest(); } else { alert(data.errorMsg); } };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)