Skip to content

Commit

Permalink
Added header SDK-Type
Browse files Browse the repository at this point in the history
Update PaysafeApiClient.php to add additional header parameter for SDK-Type
  • Loading branch information
OpusSdkSupport authored Dec 11, 2018
1 parent ed4c707 commit 3e9a489
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/Paysafe/PaysafeApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,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 3e9a489

Please sign in to comment.