Skip to content

Commit

Permalink
Merge pull request bitpay#90 from p-maguire/6.0.x
Browse files Browse the repository at this point in the history
SP-1041: Upgrade SDK and add Platform Info
  • Loading branch information
bobbrodie authored Sep 11, 2024
2 parents 69609bb + caed10f commit 33c958a
Show file tree
Hide file tree
Showing 4 changed files with 2,309 additions and 2,287 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
php-version: [ 8.1, 8.2, 8.3 ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Composer Dependencies
run: composer install --dev
- name: Change permissions for phpcs
Expand Down
3 changes: 2 additions & 1 deletion BitPayLib/class-bitpayclientfactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public function create(): Client {

return new PosClient(
$token,
$this->get_environment()
$this->get_environment(),
'BitPay_WooCommerce_v6.0.0'
);
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"require": {
"php": "^8.1",
"bitpay/sdk": "^8.0.0"
"bitpay/sdk": "^9.1.0"
},
"require-dev": {
"wp-coding-standards/wpcs": "dev-develop",
Expand Down
Loading

0 comments on commit 33c958a

Please sign in to comment.