diff --git a/app/PaymentDrivers/Eway/CreditCard.php b/app/PaymentDrivers/Eway/CreditCard.php index 8000e1ac652d..099dfb79560c 100644 --- a/app/PaymentDrivers/Eway/CreditCard.php +++ b/app/PaymentDrivers/Eway/CreditCard.php @@ -87,7 +87,7 @@ class CreditCard //success $cgt = []; - $cgt['token'] = $response->Customer->TokenCustomerID; + $cgt['token'] = strval($response->Customer->TokenCustomerID); $cgt['payment_method_id'] = GatewayType::CREDIT_CARD; $payment_meta = new \stdClass;