From 669e6c0891fda2d6c7cf8070d5329ed021829add Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 19 Aug 2022 13:59:55 +0700 Subject: [PATCH] Fix default stae --- modules/gateways/xendit/lib/ActionBase.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gateways/xendit/lib/ActionBase.php b/modules/gateways/xendit/lib/ActionBase.php index 9bc61d1..63ccbb8 100644 --- a/modules/gateways/xendit/lib/ActionBase.php +++ b/modules/gateways/xendit/lib/ActionBase.php @@ -448,10 +448,9 @@ public function extractCustomerAddress(array $params): array 'street_line1' => $params['address1'], 'street_line2' => $params['address2'], 'city' => $params['city'], - 'province_state' => $params['state'], + 'state' => $params['state'], 'postal_code' => $params['postcode'] ]; - return array_filter($customerAddressObject); } }