Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SP-1041: Upgrade SDK and add Platform Info #90

Merged
merged 6 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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