File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 '
Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments