This commit is contained in:
Nathan Coad
2016-07-23 09:48:27 +10:00
parent f4456a86f0
commit dd70dfd5a3
3 changed files with 4 additions and 7 deletions

View File

@@ -24,12 +24,10 @@ jQuery(document).ready(function($) {
});
$('.form-submit').click(function (e) {
//currentForm = $(this).closest('form');
//if (currentForm === undefined)
// return;
var $settings = Drupal.settings.booking_stripe;
var $stripeForm = $("#" + $settings.form_selector);
var $amount = $(':input[name="gross_amount"]', $stripeForm).val() * 100;
handler.open({
name: $settings.name,
currency: "aud",