add stripe explanation
This commit is contained in:
@@ -183,8 +183,12 @@ function booking_admin() {
|
|||||||
'#title' => 'Stripe Settings',
|
'#title' => 'Stripe Settings',
|
||||||
'#collapsible' => TRUE,
|
'#collapsible' => TRUE,
|
||||||
'#collapsed' => TRUE,
|
'#collapsed' => TRUE,
|
||||||
);
|
);
|
||||||
|
$explanation_text = t('<p>Register an account at stripe.com and visit <a href="https://dashboard.stripe.com/account/apikeys">the API keys page</a>, then copy your API keys here.</p>');
|
||||||
|
$form['stripe']['explanation-text'] = array(
|
||||||
|
'#type' => 'container',
|
||||||
|
'#children' => $explanation_text,
|
||||||
|
);
|
||||||
$form['stripe']['booking_stripe_test_secret_key'] = array (
|
$form['stripe']['booking_stripe_test_secret_key'] = array (
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
'#title' => t('Specify Stripe Test Secret Key'),
|
'#title' => t('Specify Stripe Test Secret Key'),
|
||||||
|
Reference in New Issue
Block a user