From a86c5006af276884eb68acad285c0dde6c840116 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 4 Nov 2020 11:36:30 +1100 Subject: [PATCH] Fixes for company gateway schema --- app/Traits/GenerateMigrationResources.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Traits/GenerateMigrationResources.php b/app/Traits/GenerateMigrationResources.php index 464202809213..04b1f567f147 100644 --- a/app/Traits/GenerateMigrationResources.php +++ b/app/Traits/GenerateMigrationResources.php @@ -963,8 +963,8 @@ trait GenerateMigrationResources 'gateway_key' => $this->getGatewayKeyById($account_gateway->gateway_id), 'accepted_credit_cards' => $account_gateway->accepted_credit_cards, 'require_cvv' => $account_gateway->require_cvv, - 'show_billing_address' => $account_gateway->show_billing_address, - 'show_shipping_address' => $account_gateway->show_shipping_address, + 'require_billing_address' => $account_gateway->show_billing_address, + 'require_shipping_address' => $account_gateway->show_shipping_address, 'update_details' => $account_gateway->update_details, 'config' => Crypt::decrypt($account_gateway->config), 'fees_and_limits' => $this->transformFeesAndLimits($gateway_type_id),