fix for international stripe fee token
This commit is contained in:
@@ -439,7 +439,7 @@ function booking_token_info() {
|
||||
);
|
||||
$info['tokens']['booking']['stripe-deposit-amount'] = array(
|
||||
'name' => t('Stripe Deposit Only'),
|
||||
'description' => t('The deposit amount required to confirm the registration including stripe fees.')
|
||||
'description' => t('The deposit amount required to confirm the registration including stripe fees. These tokens are only used for display purposes, not in the actual calculations.')
|
||||
);
|
||||
$info['tokens']['booking']['stripe-total-amount'] = array(
|
||||
'name' => t('Stripe Outstanding Balance'),
|
||||
@@ -634,8 +634,8 @@ function booking_define_personspecific_tokens($node)
|
||||
$tokens['paypal-deposit-amount'] = _booking_deposit_amount($node, TRUE);
|
||||
$tokens['paypal-total-amount'] = _booking_amount_owing($node, $amount_paid);
|
||||
$tokens['stripe-deposit-amount'] = _booking_deposit_amount($node, TRUE);
|
||||
$tokens['stripe-total-amount'] = _booking_amount_owing($node, $amount_paid);
|
||||
$tokens['stripe-total-intl'] = _booking_amount_owing($node, $amount_paid);
|
||||
$tokens['stripe-total-amount'] = _booking_amount_owing($node, $amount_paid, TRUE, FALSE);
|
||||
$tokens['stripe-total-intl'] = _booking_amount_owing($node, $amount_paid, TRUE, TRUE);
|
||||
}
|
||||
|
||||
if (variable_get('booking_enable_travelform', 0) == 1) {
|
||||
|
Reference in New Issue
Block a user