From 80c1d0b2ebc9436fdbe0fd87d68f10db96490370 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 6 Feb 2023 09:03:49 +1100 Subject: [PATCH] Fixes for required client fields --- app/PaymentDrivers/CustomPaymentDriver.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/PaymentDrivers/CustomPaymentDriver.php b/app/PaymentDrivers/CustomPaymentDriver.php index b0629883c111..b9227c816fc3 100644 --- a/app/PaymentDrivers/CustomPaymentDriver.php +++ b/app/PaymentDrivers/CustomPaymentDriver.php @@ -43,6 +43,11 @@ class CustomPaymentDriver extends BaseDriver return $types; } + public function init() + { + return $this; + } + public function setPaymentMethod($payment_method_id) { $this->payment_method = $payment_method_id;