Skip to content

Update thepay/api-client requirement from ^2.2.1 to ^3.0.0#110

Merged
trejjam merged 1 commit into
masterfrom
dependabot/composer/thepay/api-client-tw-3.0.0
May 19, 2026
Merged

Update thepay/api-client requirement from ^2.2.1 to ^3.0.0#110
trejjam merged 1 commit into
masterfrom
dependabot/composer/thepay/api-client-tw-3.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Updates the requirements on thepay/api-client to permit the latest version.

Release notes

Sourced from thepay/api-client's releases.

v3.0.0

⚠ Break changes ⚠

Class method updates

Payment Buttons obsolete

Creating payment by Payment Buttons is no longer supported. The related methods in the following classes have been removed: ThePay\ApiClient\Service\GateService ThePay\ApiClient\Service\SignatureService ThePay\ApiClient\Service\GateServiceInterface ThePay\ApiClient\TheClient

Customer required

New parameter in ThePay\ApiClient\Model\CreatePaymentParams. The customer is now filled in the constructor and the setter has been removed, as it is no longer optional.

From old code:

(new CreatePaymentParams($amount, $currencyCode, $uid, $languageCode))->setCustomer($customer);

To new code:

new CreatePaymentParams($amount, $currencyCode, $uid, $customer, $languageCode);

Class interface updates

Some class method datatypes are now more strict than previously. The full list of affected classes: ThePay\ApiClient\Model\BankAccount ThePay\ApiClient\Model\CreatePaymentCustomer ThePay\ApiClient\Model\RealizePaymentBySavedAuthorizationParams

Removed methods and classes

We removed some functionality which was no longer needed or could potentionally lead into wrong usage of our SDK. The full list of affected classes: ThePay\ApiClient\Model\ApiResponse ThePay\ApiClient\Model\SignedData

Other class updates

ThePay\ApiClient\Service\ApiService - new method, method return type updates. ThePay\ApiClient\Service\ApiServiceInterface - new method, method return type updates. ThePay\ApiClient\TheClient - new method, method return type updates.

Internal interface updates (this generally should not affect you)

ThePay\ApiClient\TheConfig ThePay\ApiClient\Model\RealizeSubscriptionPaymentParams ThePay\ApiClient\ValueObject\*

... (truncated)

Commits
  • ffbf2ee Merge pull request #112 from ThePay/v2-to-v3
  • 3bd3c8e Merge remote-tracking branch 'origin/v2.x' into v2-to-v3
  • c4e1323 Merge pull request #111 from ThePay/v1-to-v2
  • 034acf5 6910 - Update CI workflow: refine PHP matrix, add PSR/http-message version tests
  • e04ba41 Merge remote-tracking branch 'origin/v1.x' into v1-to-v2
  • 2cb8ed8 Merge pull request #110 from ThePay/hotfix/6910-deprecated-node-20-in-v1
  • 10289d1 6910 - Update GitHub Actions workflows to use actions/checkout@v6
  • e96d2ff Merge pull request #102 from ThePay/6511-gpc-account-statement
  • 384022e TheConfig mock fix
  • ecdbf5f documentation imrovement
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [thepay/api-client](https://github.com/ThePay/api-client) to permit the latest version.
- [Release notes](https://github.com/ThePay/api-client/releases)
- [Commits](ThePay/api-client@v2.2.1...v3.0.0)

---
updated-dependencies:
- dependency-name: thepay/api-client
  dependency-version: 3.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the automerge label May 19, 2026
@trejjam trejjam merged commit 5adec13 into master May 19, 2026
7 checks passed
@dependabot dependabot Bot deleted the dependabot/composer/thepay/api-client-tw-3.0.0 branch May 19, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant