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

Commit

Permalink
Adds avs and cvd result params
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Paul committed Oct 25, 2016
1 parent 313e6f7 commit df1adb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Receipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ protected function prepare($data)
$params = [
['property' => 'amount', 'key' => 'TransAmount', 'cast' => 'float'],
['property' => 'authorization', 'key' => 'AuthCode', 'cast' => 'string'],
['property' => 'avs_result', 'key' => 'AvsResultCode', 'cast' => 'string'],
['property' => 'card', 'key' => 'CardType', 'cast' => 'string'],
['property' => 'code', 'key' => 'ResponseCode', 'cast' => 'string'],
['property' => 'complete', 'key' => 'Complete', 'cast' => 'boolean'],
['property' => 'cvd_result', 'key' => 'CvdResultCode', 'cast' => 'string'],
['property' => 'data', 'key' => 'ResolveData', 'cast' => 'array', 'callback' => 'setData'],
['property' => 'date', 'key' => 'TransDate', 'cast' => 'string'],
['property' => 'id', 'key' => 'ReceiptId', 'cast' => 'string'],
Expand Down

0 comments on commit df1adb4

Please sign in to comment.