add stripe explanation

This commit is contained in:
Nathan Coad
2016-07-21 08:41:13 +10:00
parent fd9b5e0045
commit 9567f9c105

View File

@@ -184,7 +184,11 @@ function booking_admin() {
'#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'),