temporary workaround for tokens

This commit is contained in:
Nathan Coad
2016-07-22 15:49:02 +10:00
parent 87247d87f4
commit dd9e4ac822

View File

@@ -630,6 +630,9 @@ function booking_define_personspecific_tokens($node)
}
//if stripe is enabled
elseif ($payment_processor_type == 1) {
//@todo remove the paypal tokens from here
$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);