diff --git a/app/PaymentDrivers/Square/CreditCard.php b/app/PaymentDrivers/Square/CreditCard.php index 21890634c102..d5304d992525 100644 --- a/app/PaymentDrivers/Square/CreditCard.php +++ b/app/PaymentDrivers/Square/CreditCard.php @@ -144,7 +144,7 @@ class CreditCard $client->region = $this->square_driver->client->state; $client->country = $this->square_driver->client->country->iso_3166_2; - return $client; + return (array)$client; } public function paymentResponse(PaymentResponseRequest $request)