Skip to content

Commit

Permalink
Merge pull request #1 from Credit-Jeeves/master
Browse files Browse the repository at this point in the history
Merge Credit-Jeeves
  • Loading branch information
cb-vova authored Jun 19, 2019
2 parents 349c4a1 + 791d033 commit 7c65d65
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/Paysafe/CardPayments/Verification.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public static function getPageableArrayKey()
'currencyCode' => 'string',
'avsResponse' => array(
'MATCH',
'PARTIAL_MATCH_ADDRESS',
'PARTIAL_MATCH_ZIP',
'MATCH_ADDRESS_ONLY',
'MATCH_ZIP_ONLY',
'NO_MATCH',
'NOT_PROCESSED',
'UNKNOWN'
Expand Down
2 changes: 2 additions & 0 deletions source/Paysafe/CustomerVaultService.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ public function createAddress( CustomerVault\Address $address )
'zip',
'recipientName',
'phone',
'defaultShippingAddressIndicator',
));

$request = new Request(array(
Expand Down Expand Up @@ -275,6 +276,7 @@ public function updateAddress( CustomerVault\Address $address )
'zip',
'recipientName',
'phone',
'defaultShippingAddressIndicator',
));

$request = new Request(array(
Expand Down
3 changes: 2 additions & 1 deletion source/Paysafe/PaysafeApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ public function processRequest(Request $request)
CURLOPT_URL => $request->buildUrl($this->apiEndPoint),
CURLOPT_HTTPHEADER => array(
'Authorization: Basic ' . base64_encode($this->keyID . ':' . $this->keyPassword),
'Content-Type: application/json; charset=utf-8'
'Content-Type: application/json; charset=utf-8',
'SDK-Type: Paysafe_PHP_SDK'
),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => false,
Expand Down

0 comments on commit 7c65d65

Please sign in to comment.