Fixes for tokenbillling

This commit is contained in:
Lars Kusch 2022-12-17 07:36:13 +01:00
parent 9f38380d61
commit ea1a373a9b

View File

@ -89,6 +89,9 @@ class Charge
if ($cgt->gateway_type_id == GatewayType::SEPA) {
$data['payment_method_types'] = ['sepa_debit'];
}
if ($cgt->gateway_type_id == GatewayType::BACS) {
$data['payment_method_types'] = ['bacs_debit'];
}
/* Should improve token billing with client not present */
if (!auth()->guard('contact')->check()) {