Skip to content

Bump stripe/stripe-php from 21.3.2 to 22.0.0 - #83

Merged
gagnieray merged 1 commit into
developfrom
dependabot/composer/stripe/stripe-php-22.0.0
Oct 6, 2026
Merged

gagnieray merged 1 commit into
developfrom
dependabot/composer/stripe/stripe-php-22.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Bumps stripe/stripe-php from 21.3.2 to 22.0.0.

Release notes

Sourced from stripe/stripe-php's releases.

v22.0.0

See the changelog for the full release notes.

v21.4.0-beta.1

This release changes the pinned API version to 2026-08-26.preview.

  • #2129 Update generated code for beta
    • Add support for new resources V2.Core.ApprovalRequest, V2.Signals.AccountActivity, V2.Signals.AccountEvaluation, and V2.Signals.AccountSignal
    • Add support for all and retrieve methods on resource V2.Signals.AccountSignal
    • Add support for create and retrieve methods on resource V2.Signals.AccountEvaluation
    • Add support for create, delete, and retrieve methods on resource V2.Signals.AccountActivity
    • Add support for all, cancel, retrieve, and update methods on resource V2.Core.ApprovalRequest
    • Add support for disable method on resource V2.MoneyManagement.PayoutMethod
    • Add support for disable_stripe_user_authentication on AccountSession.create().$params.component.payment_method_setting.feature
    • ⚠️ Remove support for payment_method_types on PaymentIntent.confirm().$params, PaymentIntent.create().$params, PaymentIntent.update().$params, SetupIntent.create().$params, and SetupIntent.update().$params
    • ⚠️ Change type of ProductCatalog.TrialOffer.end_behavior.transition.price and ProductCatalog.TrialOffer.price from $Price to deletable($Price)
    • Add support for billie on QuotePreviewInvoice.payment_settings.payment_method_options
    • Add support for new value billie on enum QuotePreviewInvoice.payment_settings.payment_method_types
    • Add support for payout_methods on V2.Core.Account.defaults and V2\Core\Account.update().$params.default
    • Add support for restricted on V2.Core.Vault.GbBankAccount and V2.Core.Vault.UsBankAccount
    • Add support for enabled_delivery_schemes on V2.MoneyManagement.PayoutMethod.bank_account
    • ⚠️ Remove support for enabled_delivery_options on V2.MoneyManagement.PayoutMethod.bank_account
    • Add support for new value disabled on enum V2.MoneyManagement.PayoutMethod.usage_status.payments
    • Add support for new value disabled on enum V2.MoneyManagement.PayoutMethod.usage_status.transfers
    • Add support for event notifications V2CoreApprovalRequestApprovedEvent, V2CoreApprovalRequestCanceledEvent, V2CoreApprovalRequestCreatedEvent, V2CoreApprovalRequestExpiredEvent, V2CoreApprovalRequestFailedEvent, V2CoreApprovalRequestRejectedEvent, and V2CoreApprovalRequestSucceededEvent with related object V2.Core.ApprovalRequest
    • Add support for event notification V2SignalsAccountEvaluationCompleteEvent with related object V2.Signals.AccountEvaluation
    • Add support for error codes authentication_failure, capability_not_active, expired_payment_method, incorrect_postal_code, invalid_canceled_subscription_fields, and payment_method_restricted on QuotePreviewInvoice.last_finalization_error
  • #2121 Add non-verified methods to managed handlers

See the changelog for more details.

v21.4.0-alpha.5

See the changelog for the full release notes.

v21.4.0-alpha.4

See the changelog for the full release notes.

v21.4.0-alpha.3

  • #2141 Update generated code for private-preview
    • Add support for customer_tax_exemption on Tax.Calculation.shipping_cost.tax_breakdown[], Tax.CalculationLineItem.tax_breakdown[], and Tax.Transaction.shipping_cost.tax_breakdown[]
    • Add support for new value data_share_only on enums Charge.payment_method_details.card.three_d_secure.result, PaymentAttemptRecord.payment_method_details.card.three_d_secure.result, PaymentRecord.payment_method_details.card.three_d_secure.result, and SetupAttempt.payment_method_details.card.three_d_secure.result
    • Add support for backdate_start_date on Checkout.Session.items[].subscription and Checkout\Session.create().$params.item.subscription
    • Add support for signals on Identity.VerificationReport
    • Add support for network_response_code on Issuing.Authorization.request_history[]
    • Add support for unit_cost_precision on PaymentIntent.capture().$params.amount_detail.line_item, PaymentIntent.confirm().$params.amount_detail.line_item, PaymentIntent.create().$params.amount_detail.line_item, PaymentIntent.decrement_authorization().$params.amount_detail.line_item, PaymentIntent.increment_authorization().$params.amount_detail.line_item, PaymentIntent.update().$params.amount_detail.line_item, and PaymentIntentAmountDetailsLineItem
    • Change PaymentIntent.payment_record to be required
    • Add support for active on ProductCatalog\TrialOffer.all().$params
    • Change Subscription.trial_settings.end_behavior.billing_cycle_anchor to be required
    • Add support for new value rtp on enum Treasury.FinancialAccount.financial_addresses[].supported_networks
    • Add support for new value blik_recurring_payments on enums V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability and V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability

... (truncated)

Changelog

Sourced from stripe/stripe-php's changelog.

22.0.0 - 2026-09-30

This release changes the pinned API version to 2026-09-30.endive.

  • #2144 Support EventNotifications with singleton related objects

  • ⚠️ #2148 Expand PHPDoc union parameter shapes

    • Request-parameter PHPDoc now describes the complete object and list shapes in unions instead of using a generic array type. This change affects documentation and static analysis only, but may produce new PHPStan or IDE diagnostics for arrays that do not match the documented types.
  • #2149 Allow suppressing Stripe notices

    Set the STRIPE_SUPPRESS_NOTICES environment variable to true to suppress Stripe notices in test and sandbox environments when not running under a detected AI agent. Notices remain enabled by default and continue to be shown to AI agents.

  • #2151 Fix account scoping for event notification handler callback clients

    • Fix callback clients to use the event's Stripe context and preserve the original client's non-account configuration.
    • Fix API errors when using an event notification handler with a client configured with a Stripe account.
  • ⚠️ Drop support for PHP 7.2 and 7.3

  • ⚠️ #2140 Update generated code

    • Add support for new resources Apps.Install, ProductCatalog.TrialOffer, Tax.Location, and ThreeDSecure.Authentication
    • Add support for all, create, retrieve, uninstall, and update methods on resource Apps.Install
    • Add support for all, create, retrieve, and update methods on resource ProductCatalog.TrialOffer
    • Add support for all, create, and retrieve methods on resource Tax.Location
    • Add support for all, cancel, create, retrieve, and submit methods on resource ThreeDSecure.Authentication
    • Add support for pause method on resource Subscription
    • Add support for new values invalid_address_cmra_address and invalid_address_registered_agent_address on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, BankAccount.requirements.errors[].code, Capability.future_requirements.errors[].code, Capability.requirements.errors[].code, Person.future_requirements.errors[].code, and Person.requirements.errors[].code
    • Add support for performance_location on Tax.CalculationLineItem and Tax\Calculation.create().$params.line_item
    • Add support for new value performance on enums Tax.Calculation.shipping_cost.tax_breakdown[].sourcing, Tax.CalculationLineItem.tax_breakdown[].sourcing, and Tax.Transaction.shipping_cost.tax_breakdown[].sourcing
    • Add support for new values admissions_tax, attendance_tax, digital_excise_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, recycling_fee, resort_tax, tourism_tax, and utility_users_tax on enums Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type, Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type, and Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
    • Add support for destination on Reserve.Hold, Reserve.Plan, and Reserve.Release
    • Add support for manual_release on Reserve.Plan
    • Add support for new value other on enum Reserve.Plan.status
    • Add support for new values manual_release and other on enum Reserve.Plan.type
    • ⚠️ Add support for new value hold_expired on enum Reserve.Release.reason
    • ⚠️ Remove support for value bulk_hold_expiry from enum Reserve.Release.reason
    • Add support for specified_commercial_transactions_act_url on Account.business_profile, Account.create().$params.business_profile, and Account.update().$params.business_profile
    • Add support for blik_recurring_payments and sequra_payments on Account.capabilities, Account.create().$params.capability, Account.update().$params.capability, V2.Core.Account.configuration.merchant.capabilities, V2\Core\Account.create().$params.configuration.merchant.capability, and V2\Core\Account.update().$params.configuration.merchant.capability
    • Add support for paypay_payments on Account.capabilities, Account.create().$params.capability, Account.create().$params.setting, Account.settings, Account.update().$params.capability, and Account.update().$params.setting
    • Add support for sepa_debit_payments on Account.create().$params.setting, V2\Core\Account.create().$params.configuration.merchant, and V2\Core\Account.update().$params.configuration.merchant
    • Add support for new values issuing_dispute_provisional_credit_reversal and issuing_dispute_provisional_credit on enum BalanceTransaction.type
    • Add support for paypay on Charge.payment_method_details, ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, PaymentAttemptRecord.payment_method_details, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_option, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_option, PaymentIntent.payment_method_options, PaymentIntent.update().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_option, PaymentMethod.create().$params, PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, PaymentMethod, PaymentRecord.payment_method_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for sequra on Charge.payment_method_details, Checkout.Session.payment_method_options, Checkout\Session.create().$params.payment_method_option, ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, PaymentAttemptRecord.payment_method_details, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_option, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_option, PaymentIntent.payment_method_options, PaymentIntent.update().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_option, PaymentMethod.create().$params, PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, PaymentMethod, PaymentRecord.payment_method_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for electronic_commerce_indicator on Charge.payment_method_details.card
    • Change type of Charge.payment_method_details.card.mandate from string to expandable($Mandate)
    • Add support for allowed_payment_method_types on Checkout.Session and Checkout\Session.create().$params
    • ⚠️ Remove support for payment_method_types on Checkout\Session.create().$params, PaymentIntent.confirm().$params, PaymentIntent.create().$params, PaymentIntent.update().$params, SetupIntent.create().$params, and SetupIntent.update().$params
    • Add support for tax_details on Checkout\Session.create().$params.line_item.price_datum.product_datum, Checkout\Session.update().$params.line_item.price_datum.product_datum, Invoice.add_lines().$params.line.price_datum.product_datum, Invoice.update_lines().$params.line.price_datum.product_datum, InvoiceLineItem.update().$params.price_datum.product_datum, PaymentLink.create().$params.line_item.price_datum.product_datum, Plan.create().$params.product, Price.create().$params.product_datum, Product.create().$params, Product.update().$params, and Product
    • Add support for blik on Checkout\Session.create().$params.payment_method_option, Invoice.create().$params.payment_setting.payment_method_option, Invoice.payment_settings.payment_method_options, Invoice.update().$params.payment_setting.payment_method_option, Mandate.payment_method_details, SetupAttempt.payment_method_details, SetupIntent.confirm().$params.payment_method_option, SetupIntent.create().$params.payment_method_option, SetupIntent.payment_method_options, SetupIntent.update().$params.payment_method_option, Subscription.create().$params.payment_setting.payment_method_option, Subscription.payment_settings.payment_method_options, and Subscription.update().$params.payment_setting.payment_method_option
    • Change type of Checkout\Session.create().$params.payment_method_option.bancontact.setup_future_usage, PaymentIntent.confirm().$params.payment_method_option.blik.setup_future_usage, PaymentIntent.create().$params.payment_method_option.blik.setup_future_usage, and PaymentIntent.update().$params.payment_method_option.blik.setup_future_usage from literal('none') to enum('none'|'off_session')
    • ⚠️ Change type of Checkout.Session.payment_method_options.bancontact.setup_future_usage and PaymentIntent.payment_method_options.blik.setup_future_usage from literal('none') to enum('none'|'off_session')
    • Add support for new values paypay and sequra on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new values apps.install.created, apps.install.deleted, and apps.install.updated on enum Event.type
    • Add support for new values expired and pending on enum FinancialConnections.Account.account_numbers[].status
    • Add support for country on FinancialConnections\Session.create().$params.filter
    • ⚠️ Remove support for countries on FinancialConnections.Session.filters and FinancialConnections\Session.create().$params.filter

... (truncated)

Commits
  • c4c1f65 Bump version to 22.0.0
  • d824c03 Add v22 migration guidance links (#2166)
  • 8aca070 Merge pull request #2165 from stripe/latest-codegen-master
  • c163983 Update generated code for v2526 and 588801ef34f7b5f7d6a784d3354f5f93d2a26ffb
  • 7c0b562 Update generated code for v2526 and adad04916772f880317eac10d8c026b401863f1d ...
  • c6e6789 Pin stripe-mock to the SDK OpenAPI version (#2158)
  • 8f57d58 Merge pull request #2162 from stripe/sdk-release/next-major
  • e74f7af Revise migration guide for SDK v22 with new API details
  • f9e7e43 ⚠️ Drop support for PHP 7.2 and 7.3 (#2159)
  • b4b620e fix migration guide
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Oct 4, 2026
@gagnieray

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 21.3.2 to 22.0.0.
- [Release notes](https://github.com/stripe/stripe-php/releases)
- [Changelog](https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-php@v21.3.2...v22.0.0)

---
updated-dependencies:
- dependency-name: stripe/stripe-php
  dependency-version: 22.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/stripe/stripe-php-22.0.0 branch from 0accb75 to 01e68fb Compare October 6, 2026 11:56
@gagnieray
gagnieray merged commit c1fb98a into develop Oct 6, 2026
10 checks passed
@gagnieray
gagnieray deleted the dependabot/composer/stripe/stripe-php-22.0.0 branch October 6, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Development

Successfully merging this pull request may close these issues.

1 participant