Skip to content

Commit

Permalink
Using transaction api v6
Browse files Browse the repository at this point in the history
Added customerReference and customerTrust to the enduser array
  • Loading branch information
Andy Pieters committed Nov 23, 2016
1 parent ee9d24e commit e9c0fc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions samples/transaction/start.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@
'birthDate' => '14-05-1999',
'phoneNumber' => '0612345678',
'emailAddress' => '[email protected]',
'customerReference' => '456789',//your customer id
'customerTrust' => 5, // -10 - 10 how much do you trust this customer? -10 untrustable 10 trusted
),
'address' => array(
'streetName' => 'Test',
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Transaction/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Transaction extends Api
/**
* @var int the version of the api
*/
protected $version = 5;
protected $version = 6;

/**
* @param string $endpoint
Expand Down

0 comments on commit e9c0fc3

Please sign in to comment.