This commit is contained in:
Nathan Coad
2016-07-21 11:24:11 +10:00
parent f5dc4836ce
commit 770a1e1da9
2 changed files with 2 additions and 2 deletions

View File

@@ -169,9 +169,7 @@ function booking_stripeform_validate_form_payment($form, &$form_state) {
return;
}
$path = libraries_get_path('stripe');
//watchdog('booking_debug', 'Loading stripe library from "@info"', array ('@info' => $path . '/lib/Stripe.php'));
require_once($path . '/init.php');
//require_once($path . '/lib/Stripe.php');
\Stripe\Stripe::setApiKey(_booking_get_stripe_private_key());