Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Changes amount cast to string
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Paul committed Oct 26, 2016
1 parent ccea71a commit 57b0a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Receipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 57b0a21

Please sign in to comment.