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); } }