mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Updates to allow pink auto billing
This commit is contained in:
parent
e1ec2928a9
commit
9b2d745bcf
@ -82,6 +82,9 @@ class Charge
|
||||
if ($cgt->gateway_type_id == GatewayType::BACS) {
|
||||
$data['payment_method_types'] = ['bacs_debit'];
|
||||
}
|
||||
if($cgt->gateway_type_id == GatewayType::CREDIT_CARD){
|
||||
$data['payment_method_types'] = ["card","link"];
|
||||
}
|
||||
|
||||
/* Should improve token billing with client not present */
|
||||
if (!auth()->guard('contact')->check()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user