Skip to content

Commit 7c65d65

Browse files
authored
Merge pull request #1 from Credit-Jeeves/master
Merge Credit-Jeeves
2 parents 349c4a1 + 791d033 commit 7c65d65

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

source/Paysafe/CardPayments/Verification.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public static function getPageableArrayKey()
6565
'currencyCode' => 'string',
6666
'avsResponse' => array(
6767
'MATCH',
68-
'PARTIAL_MATCH_ADDRESS',
69-
'PARTIAL_MATCH_ZIP',
68+
'MATCH_ADDRESS_ONLY',
69+
'MATCH_ZIP_ONLY',
7070
'NO_MATCH',
7171
'NOT_PROCESSED',
7272
'UNKNOWN'

source/Paysafe/CustomerVaultService.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ public function createAddress( CustomerVault\Address $address )
239239
'zip',
240240
'recipientName',
241241
'phone',
242+
'defaultShippingAddressIndicator',
242243
));
243244

244245
$request = new Request(array(
@@ -275,6 +276,7 @@ public function updateAddress( CustomerVault\Address $address )
275276
'zip',
276277
'recipientName',
277278
'phone',
279+
'defaultShippingAddressIndicator',
278280
));
279281

280282
$request = new Request(array(

source/Paysafe/PaysafeApiClient.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ public function processRequest(Request $request)
213213
CURLOPT_URL => $request->buildUrl($this->apiEndPoint),
214214
CURLOPT_HTTPHEADER => array(
215215
'Authorization: Basic ' . base64_encode($this->keyID . ':' . $this->keyPassword),
216-
'Content-Type: application/json; charset=utf-8'
216+
'Content-Type: application/json; charset=utf-8',
217+
'SDK-Type: Paysafe_PHP_SDK'
217218
),
218219
CURLOPT_RETURNTRANSFER => true,
219220
CURLOPT_SSL_VERIFYPEER => false,

0 commit comments

Comments
 (0)