Skip to content

Commit

Permalink
Added credit_card_token to Payment Details for tokenized cc orders
Browse files Browse the repository at this point in the history
  • Loading branch information
ErezSela committed Apr 19, 2016
1 parent 2abfb78 commit e762acc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sample/order_full_flow.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@
'payment_details' => new Model\PaymentDetails(array(
'credit_card_bin' => '370002',
'credit_card_number' => 'xxxx-xxxx-xxxx-1234',
'credit_card_company' => 'VISA'
'credit_card_company' => 'VISA',
'credit_card_token' => '0022334466'
)),
'customer' => new Model\Customer(array(
'email' => '[email protected]',
Expand Down
2 changes: 1 addition & 1 deletion src/Riskified/Common/Riskified.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @package Riskified\Common
*/
class Riskified {
const VERSION = '1.6.4';
const VERSION = '1.6.5';
const API_VERSION = '2';

/**
Expand Down
1 change: 1 addition & 0 deletions src/Riskified/OrderWebhook/Model/PaymentDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class PaymentDetails extends AbstractModel {
'cvv_result_code' => 'string /^.+$/i',
'credit_card_number' => 'string',
'credit_card_company' => 'string',
'credit_card_token' => 'string',

'payer_email' => 'string optional',
'payer_status' => 'string optional',
Expand Down

0 comments on commit e762acc

Please sign in to comment.