From 9b2d745bcf4d8f9f574381cbc226e752d81b229c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 4 Sep 2024 12:26:35 +1000 Subject: [PATCH] Updates to allow pink auto billing --- app/PaymentDrivers/Stripe/Charge.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/PaymentDrivers/Stripe/Charge.php b/app/PaymentDrivers/Stripe/Charge.php index 6712a160a524..3a06e0974467 100644 --- a/app/PaymentDrivers/Stripe/Charge.php +++ b/app/PaymentDrivers/Stripe/Charge.php @@ -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()) {