-
-
Save dlachowicz-mw/4ece7de396b7d8f7d758 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function () { | |
$('#submitPayment').click(function () { | |
// Prevent the user from double-clicking | |
$(this).prop('disabled', true); | |
// Create the payment tokencreate | |
CayanCheckout.createPaymentToken({ | |
success: successCallback, | |
error: failureCallback | |
}) | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment