diff --git a/src/Receipt.php b/src/Receipt.php index 60143db..8ec6fe3 100644 --- a/src/Receipt.php +++ b/src/Receipt.php @@ -19,7 +19,7 @@ class Receipt public function __construct($data) { $this->data = $this->prepare($data, [ - ['property' => 'amount', 'key' => 'TransAmount', 'cast' => 'float'], + ['property' => 'amount', 'key' => 'TransAmount', 'cast' => 'string'], ['property' => 'authorization', 'key' => 'AuthCode', 'cast' => 'string'], ['property' => 'avs_result', 'key' => 'AvsResultCode', 'cast' => 'string'], ['property' => 'card', 'key' => 'CardType', 'cast' => 'string'],