js progress
This commit is contained in:
@@ -35,19 +35,19 @@ jQuery(document).ready(function($) {
|
||||
return;
|
||||
var settings = Drupal.settings.booking_stripe;
|
||||
var $stripeForm = $("#" + settings.form_selector);
|
||||
$description = $(':input[name="email"]', $stripeForm).val();
|
||||
$description = $(':input[name="description"]', $stripeForm).val();
|
||||
console.log([$description]);
|
||||
//description: currentForm.find('input[name="description"]').val(),
|
||||
//email: currentForm.find('input[name="email"]').val(),
|
||||
//amount: currentForm.find('input[name="amount"]').val() * 100,
|
||||
|
||||
//description: $(':input[name="description"]', $stripeForm),
|
||||
//email: $(':input[name="email"]', $stripeForm),
|
||||
//amount: $(':input[name="amount"]', $stripeForm),
|
||||
//alert($(':input[name="description"]', $stripeForm));
|
||||
handler.open({
|
||||
name: settings.name,
|
||||
description: currentForm.find('input[name="description"]').val(),
|
||||
email: currentForm.find('input[name="email"]').val(),
|
||||
currency: "aud",
|
||||
amount: currentForm.find('input[name="amount"]').val() * 100,
|
||||
description: $(':input[name="description"]', $stripeForm).val(),
|
||||
email: $(':input[name="email"]', $stripeForm).val(),
|
||||
amount: $(':input[name="amount"]', $stripeForm).val(),
|
||||
zipCode: true,
|
||||
closed: function() {
|
||||
//document.getElementById("booking_stripe_form").submit();
|
||||
|
Reference in New Issue
Block a user