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;