Skip to content

Bump stripe/stripe-php from 19.4.1 to 20.0.0 in /_backend#4025

Merged
lewisgoddard merged 3 commits intomasterfrom
dependabot/composer/_backend/stripe/stripe-php-20.0.0
Mar 31, 2026
Merged

Bump stripe/stripe-php from 19.4.1 to 20.0.0 in /_backend#4025
lewisgoddard merged 3 commits intomasterfrom
dependabot/composer/_backend/stripe/stripe-php-20.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 30, 2026

Bumps stripe/stripe-php from 19.4.1 to 20.0.0.

Release notes

Sourced from stripe/stripe-php's releases.

v20.0.0

This release changes the pinned API version to 2026-03-25.dahlia and contains breaking changes (prefixed with ⚠️ below). There's also a detailed migration guide to simplify your upgrade process.

Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

  • ⚠️ Breaking change: #2038 Drop support for PHP < 7.2. This is also the last major version to support PHP 7.2 and 7.3. Please upgrade to 7.4+ before September 2026. See the versioning policy for more information.
  • ⚠️ Breaking change: #2042 Preserve null values in v2 JSON request bodies
    • The SDK now preserves and sends null when set in V2 API metadata and params, enabling you to clear metadata entries and some unsettable properties for V2 APIs.
    • ⚠️ The Util::objectsToIds() method now has a required $serializeNull parameter to indicate if null values set in the object should be output in the resulting hash. This is relevant for V2 POST APIs to let callers clear emptyable values.
  • #1917 Avoid using func_get_args
  • #2011 Ensure that previous_attributes is always an instance of StripeObject
  • #2033 Add runtime support for V2 int64 string-encoded fields

See the changelog for more details.

v19.5.0-beta.1

This release changes the pinned API version to 2026-02-25.preview.

  • #2006 Update generated code for beta
    • Add support for smart_disputes on Account.create().$params.setting, Account.settings, Account.update().$params.setting, V2.Core.Account.configuration.merchant, V2\Core\Account.create().$params.configuration.merchant, and V2\Core\Account.update().$params.configuration.merchant
    • Add support for email_customers_on_successful_payment on Account.create().$params.setting.payment, Account.settings.payments, and Account.update().$params.setting.payment
    • Add support for managed_payments on Checkout.Session, Checkout\Session.create().$params, PaymentIntent, SetupIntent, and Subscription
    • Add support for new value lk_vat on enums Checkout.Session.collected_information.tax_ids[].type, Order.tax_details.tax_ids[].type, and QuotePreviewInvoice.customer_tax_ids[].type
    • Add support for new value pay_by_bank on enum QuotePreviewInvoice.payment_settings.payment_method_types
    • Add support for new values bt_bank_account, cr_bank_account, do_bank_account, gt_bank_account, md_bank_account, mk_bank_account, mo_bank_account, mz_bank_account, pe_bank_account, pk_bank_account, tw_bank_account, and uz_bank_account on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for purpose on V2.MoneyManagement.OutboundPayment and V2\MoneyManagement\OutboundPayment.create().$params
    • Add support for branch_number and swift_code on V2.MoneyManagement.PayoutMethod.bank_account
    • Change V2.MoneyManagement.Transaction.flow and V2.MoneyManagement.TransactionEntry.transaction_details.flow to be optional
    • Add support for error codes storer_capability_missing and storer_capability_not_active on QuotePreviewInvoice.last_finalization_error

See the changelog for more details.

v19.5.0-alpha.4

  • #2035 Update generated code for private-preview
    • Add support for simulate_crypto_deposit test helper method on resource PaymentIntent
    • Add support for deposit_options and mode on PaymentIntent.confirm().$params.payment_method_option.crypto, PaymentIntent.create().$params.payment_method_option.crypto, PaymentIntent.payment_method_options.crypto, and PaymentIntent.update().$params.payment_method_option.crypto
    • Add support for crypto_display_details on PaymentIntent.next_action
  • #2031 Update generated code for private-preview
    • Add support for new resources Orchestration.PaymentAttempt and Radar.CustomerEvaluation
    • Add support for retrieve method on resource Orchestration.PaymentAttempt
    • Add support for create and update methods on resource Radar.CustomerEvaluation
    • Add support for approve method on resource Checkout.Session
    • Add support for report_authenticated, report_canceled, report_failed, report_guaranteed, report_informational, and report_refund methods on resource PaymentAttemptRecord
    • Add support for create_us_paper_check_on_application on AccountSession.create().$params.component.check_scanning.feature
    • ⚠️ Change AccountSignals.delinquency to be optional
    • Add support for approval_method on Checkout.Session and Checkout\Session.create().$params
    • Add support for current_attempt on Checkout.Session
    • Add support for selected_fulfillment_option_overrides on DelegatedCheckout\RequestedSession.update().$params.fulfillment_detail
    • Add support for pricing_plan_subscription_details on InvoiceItem.parent and InvoiceLineItem.parent
    • ⚠️ Remove support for license_fee_subscription_details on InvoiceItem.parent and InvoiceLineItem.parent

... (truncated)

Changelog

Sourced from stripe/stripe-php's changelog.

20.0.0 - 2026-03-25

This release changes the pinned API version to 2026-03-25.dahlia and contains breaking changes (prefixed with ⚠️ below). There's also a detailed migration guide to simplify your upgrade process.

Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

  • ⚠️ Breaking change: #2038 Drop support for PHP < 7.2. This is also the last major version to support PHP 7.2 and 7.3. Please upgrade to 7.4+ before September 2026. See the versioning policy for more information.
  • ⚠️ Breaking change: #2042 Preserve null values in v2 JSON request bodies
    • The SDK now preserves and sends null when set in V2 API metadata and params, enabling you to clear metadata entries and some unsettable properties for V2 APIs.
    • ⚠️ The Util::objectsToIds() method now has a required $serializeNull parameter to indicate if null values set in the object should be output in the resulting hash. This is relevant for V2 POST APIs to let callers clear emptyable values.
  • #1917 Avoid using func_get_args
  • #2011 Ensure that previous_attributes is always an instance of StripeObject
  • #2033 Add runtime support for V2 int64 string-encoded fields

⚠️ Breaking changes due to changes in the Stripe API

  • #2041 ⚠️ Throw an error when using the wrong webhook parsing method
  • Generated changes from #2046, #2044, #2025
    • Add support for upi_payments on Account.capabilities, Account.create().$params.capability, and Account.update().$params.capability
    • Add support for upi 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, Mandate.payment_method_details, 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, SetupAttempt.payment_method_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.confirm().$params.payment_method_option, SetupIntent.create().$params.payment_method_datum, SetupIntent.create().$params.payment_method_option, SetupIntent.payment_method_options, SetupIntent.update().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_option
    • Add support for new value tempo on enums Charge.payment_method_details.crypto.network, PaymentAttemptRecord.payment_method_details.crypto.network, and PaymentRecord.payment_method_details.crypto.network
    • Add support for integration_identifier on Checkout.Session and Checkout\Session.create().$params
    • Add support for crypto on Checkout\Session.create().$params.payment_method_option
    • Add support for pending_invoice_item_interval on Checkout\Session.create().$params.subscription_datum
    • Add support for new values elements, embedded_page, form, and hosted_page on enum Checkout.Session.ui_mode
    • Add support for new value marine_carbon_removal on enum Climate.Supplier.removal_pathway
    • Add support for new value upi on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for metadata on CreditNote.create().$params.line, CreditNote.preview().$params.line, CreditNote.preview_lines().$params.line, and CreditNoteLineItem
    • Add support for quantity_decimal on Invoice.add_lines().$params.line, Invoice.create_preview().$params.invoice_item, Invoice.update_lines().$params.line, InvoiceItem.create().$params, InvoiceItem.update().$params, InvoiceItem, InvoiceLineItem.update().$params, and InvoiceLineItem
    • ⚠️ Add support for level on Issuing\Authorization.create().$params.risk_assessment.card_testing_risk and Issuing\Authorization.create().$params.risk_assessment.merchant_dispute_risk
    • ⚠️ Remove support for risk_level on Issuing\Authorization.create().$params.risk_assessment.card_testing_risk and Issuing\Authorization.create().$params.risk_assessment.merchant_dispute_risk
    • Add support for lifecycle_controls on Issuing.Card and Issuing\Card.create().$params
    • ⚠️ Change type of Issuing.Token.network_data.visa.card_reference_id from string to nullable(string)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.brand and PaymentRecord.payment_method_details.card.brand from enum to nullable(enum)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.exp_month and PaymentRecord.payment_method_details.card.exp_month from longInteger to nullable(longInteger)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.exp_year and PaymentRecord.payment_method_details.card.exp_year from longInteger to nullable(longInteger)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.funding and PaymentRecord.payment_method_details.card.funding from enum('credit'|'debit'|'prepaid'|'unknown') to nullable(enum('credit'|'debit'|'prepaid'|'unknown'))
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.last4 and PaymentRecord.payment_method_details.card.last4 from string to nullable(string)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.moto and PaymentRecord.payment_method_details.card.moto from boolean to nullable(boolean)
    • Add support for cryptogram, electronic_commerce_indicator, exemption_indicator_applied, and exemption_indicator on PaymentAttemptRecord.payment_method_details.card.three_d_secure and PaymentRecord.payment_method_details.card.three_d_secure
    • Add support for new value upi on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for upi_handle_redirect_or_display_qr_code on PaymentIntent.next_action and SetupIntent.next_action
    • Add support for new value upi on enum PaymentLink.payment_method_types
    • Add support for recommended_action and signals on Radar.PaymentEvaluation
    • ⚠️ Remove support for insights on Radar.PaymentEvaluation
    • Add support for new value crypto_fingerprint on enum Radar.ValueList.item_type
    • Add support for new value canceled_by_retention_policy on enum Subscription.cancellation_details.reason
    • ⚠️ Change type of V2.Core.EventDestination.events_from from enum('other_accounts'|'self') to string
    • Add support for error code service_period_coupon_with_metered_tiered_item_unsupported on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
Commits

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Mar 30, 2026
Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 19.4.1 to 20.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@v19.4.1...v20.0.0)

---
updated-dependencies:
- dependency-name: stripe/stripe-php
  dependency-version: 20.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/_backend/stripe/stripe-php-20.0.0 branch from bb4da9a to a99ae22 Compare March 30, 2026 19:50
@lewisgoddard lewisgoddard merged commit c82c665 into master Mar 31, 2026
5 checks passed
@lewisgoddard lewisgoddard deleted the dependabot/composer/_backend/stripe/stripe-php-20.0.0 branch March 31, 2026 01:08
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant