diff --git a/booking.balance.inc b/booking.balance.inc index fc4a00c..a66127c 100644 --- a/booking.balance.inc +++ b/booking.balance.inc @@ -46,6 +46,7 @@ function booking_balance_page() { //populate tokens and paypal form $tokens = booking_define_personspecific_tokens($node); $tokens['paypal-total-form'] = _booking_paypal_form($node, $invoiceid, $tokens['paypal-total-amount'], "Pay Balance"); + $tokens['stripe-total-form'] = _booking_stripe_form($node, $invoiceid, $tokens['paypal-total-amount'], "Pay Balance"); //Calculate the amount outstanding //watchdog('booking', 'Booking Balance form calculating amount owing'); diff --git a/booking.tokens.inc b/booking.tokens.inc index fc1299a..059ba00 100644 --- a/booking.tokens.inc +++ b/booking.tokens.inc @@ -437,6 +437,14 @@ function booking_token_info() { 'name' => t('Paypal Total Form Button'), 'description' => t('The paypal form for the total amount.') ); + $info['tokens']['booking']['stripe-deposit-form'] = array( + 'name' => t('Stripe Deposit Form Button'), + 'description' => t('The stripe popup form for the deposit amount.') + ); + $info['tokens']['booking']['stripe-total-form'] = array( + 'name' => t('Stripe Total Form Button'), + 'description' => t('The stripe popup form for the total amount.') + ); $info['tokens']['booking']['booking-id'] = array( 'name' => t('Booking ID'), 'description' => t('ID of the user\'s registration.')