jQuery(function($) { $('#payment-form').submit(function(event) { var $form = $(this); // Disable the submit button to prevent repeated clicks $form.find('button').prop('disabled', true); Stripe.card.createToken($form, stripeResponseHandler); // Prevent the form from submitting with the default action return false; }); }); { id: "tok_u5dg20Gra", // String of token identifier, card: {...}, // Dictionary of the card used to create the token created: 1413423049, // Integer of date token was created currency: "usd", // String currency that the token was created in livemode: true, // Boolean of whether this token was created with a live or test API key object: "token", // String identifier of the type of object, always "token" used: false // Boolean of whether this token has been used } function stripeResponseHandler(status, response) { var $form = $('#payment-form'); if (response.error) { // Show the errors on the form $form.find('.payment-errors').text(response.error.message); $form.find('button').prop('disabled', false); } else { // response contains id and card, which contains additional card details var token = response.id; // Insert the token into the form so it gets submitted to the server $form.append($('').val(token)); // and submit $form.get(0).submit(); } };

Let us be your fitness leaders. 

We deliver the most efficient, full body, group class fitness training for busy, driven, men and women.  

We have GRIT!

“A tendency to work strenuously toward challenges, maintaining effort and interest over years despite failures, adversity, and plateaus in progress”

We see challenges as opportunities to grow.