From d45316fd5ffeed6a7092ac644279606b2ec0fdbe Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 7 Oct 2021 18:01:37 +1100 Subject: [PATCH] Minor fixes for requirements --- app/PaymentDrivers/BaseDriver.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/PaymentDrivers/BaseDriver.php b/app/PaymentDrivers/BaseDriver.php index d77852749918..6084b5164b5a 100644 --- a/app/PaymentDrivers/BaseDriver.php +++ b/app/PaymentDrivers/BaseDriver.php @@ -561,15 +561,15 @@ class BaseDriver extends AbstractPaymentDriver } } - if ($this->company_gateway->require_contact_name) { - if ($this->checkRequiredResource($this->first_name)) { - $this->required_fields[] = 'contact_first_name'; - } + // if ($this->company_gateway->require_contact_name) { + // if ($this->checkRequiredResource($this->first_name)) { + // $this->required_fields[] = 'contact_first_name'; + // } - if ($this->checkRequiredResource($this->last_name)) { - $this->required_fields[] = 'contact_last_name'; - } - } + // if ($this->checkRequiredResource($this->last_name)) { + // $this->required_fields[] = 'contact_last_name'; + // } + // } if ($this->company_gateway->require_postal_code) { // In case "require_postal_code" is true, we don't need billing address.