Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@if (App::environment('local'))
var $el = $("#card-number");
window.stripeData = {
valid: function() {
successAddressFail: function() {
successZipFail: function() {
fail: function() {
failNumber: function() {
failCVC: function() {
failExpired: function() {
failProcessingError: function() {

This comment has been minimized.

Copy link
Owner Author

@ericlbarnes ericlbarnes commented Dec 30, 2014

For more reference see this post: JavaScript Helper for Triggering Stripe Failures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment