update cardpay ui

master
yixian 5 years ago
parent 1dca324d35
commit 0aa4843387

@ -13,12 +13,15 @@ $(function () {
}; };
cardFrame.frameStyle = { cardFrame.frameStyle = {
width: '100%', width: '100%',
height: '100%',
border: 'none' border: 'none'
}; };
cardFrame.onError = function (msg) {
$('#errorMsgBox').text(msg).show();
};
cardFrame.show(); cardFrame.show();
$('#payBtn').click(function () { $('#payBtn').click(function () {
$('#errorMsgBox').hide();
cardFrame.commit(); cardFrame.commit();
}); });

Loading…
Cancel
Save