bugfix
This commit is contained in:
@@ -46,14 +46,13 @@ function booking_stripe_form($node, &$form_state, $person, $invoiceid, $net_amou
|
||||
|
||||
//set some values for our internal stripe library to help process the form
|
||||
//these will be used by the attached js from booking-strip library to identify which parts of the form to process
|
||||
|
||||
// @todo set name and image in the admin page
|
||||
$setting['booking_stripe'] = array(
|
||||
'pubkey' => _booking_get_stripe_public_key(),
|
||||
'form_selector' => str_replace('_', '-', __FUNCTION__),
|
||||
'name' => $event->booking_eventname,
|
||||
'image' => variable_get('booking_stripe_logo', ''),
|
||||
);
|
||||
|
||||
//attach settings and javascript to the form
|
||||
$form['#attached'] = array(
|
||||
'js' => array(
|
||||
|
Reference in New Issue
Block a user