add admin field for stripe checkout logo

This commit is contained in:
Nathan Coad
2016-07-23 09:36:16 +10:00
parent 9f50f2f2c3
commit f4456a86f0
2 changed files with 19 additions and 8 deletions

View File

@@ -52,7 +52,7 @@ function booking_stripe_form($node, &$form_state, $person, $invoiceid, $net_amou
'pubkey' => _booking_get_stripe_public_key(),
'form_selector' => str_replace('_', '-', __FUNCTION__),
'name' => $event->booking_eventname,
'image' => '',
'image' => variable_get('booking_stripe_logo', ''),
);
//attach settings and javascript to the form
$form['#attached'] = array(