Skip to content

Commit

Permalink
Merge pull request #32 from pronamic/31-add-x-api-user-agent-header
Browse files Browse the repository at this point in the history
31 add x api user agent header
  • Loading branch information
remcotolsma authored Mar 21, 2024
2 parents 23b2421 + b3f685d commit e653d15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions pronamic-pay-with-rabo-smart-pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
*
* License: GPL-3.0-or-later
*
* Requires Plugins: pronamic-ideal
* Depends: wp-pay/core
*
* GitHub URI: https://github.com/wp-pay-gateways/omnikassa-2
*
* @author Pronamic <[email protected]>
Expand Down
3 changes: 2 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ private function request( $method, $endpoint, $token, $data = null ) {
*/
$args = [
'headers' => [
'Authorization' => 'Bearer ' . $token,
'Authorization' => 'Bearer ' . $token,
'X-Api-User-Agent' => '(pr: RSP-PRON-0001)',
],
'method' => $method,
'timeout' => 30,
Expand Down

0 comments on commit e653d15

Please sign in to comment.