more debug

This commit is contained in:
Nathan Coad
2016-07-21 11:26:50 +10:00
parent 770a1e1da9
commit cb0b3b5cad

View File

@@ -175,6 +175,7 @@ function booking_stripeform_validate_form_payment($form, &$form_state) {
$token = $form_state['values']['stripeToken'];
$amount = $form_state['values']['amount'] * 100;
watchdog('booking_debug', "<pre>Stripe payment form :\n@info</pre>", array('@info' => print_r( $form_state, true)));
// Create the charge on Stripe's servers - this will charge the user's card
try {