Skip to content

Update dependency stripe/stripe-php to v19 - #106

Merged
matronator merged 1 commit into
masterfrom
renovate/stripe-stripe-php-19.x
Dec 1, 2025
Merged

Update dependency stripe/stripe-php to v19#106
matronator merged 1 commit into
masterfrom
renovate/stripe-stripe-php-19.x

Conversation

@renovate

@renovate renovate Bot commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
stripe/stripe-php (source) ^18.0 -> ^19.0 age confidence

Release Notes

stripe/stripe-php (stripe/stripe-php)

v19.0.0

Compare Source

This release changes the pinned API version to 2025-11-17.clover.

  • #​1961 Update generated code
    • ⚠️ Remove gt, gte, lt, and lte on V2\Core\Event.all().$params in favor of created.
  • #​1958 Update v2 array parameter serialization to use indexed format
    • Retrieve and List calls for /v2 endpoints now use indexed format (e.g., ?include[0]=foo&include[1]=bar) instead of repeated parameter format (e.g., ?include=foo&include=bar) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former.
  • #​1956 Update generated code
    • Add support for new resources Tax.Association and Terminal.OnboardingLink
    • Add support for find method on resource Tax.Association
    • Add support for create method on resource Terminal.OnboardingLink
    • Add support for payment_method_configuration on BillingPortal.Configuration.features.payment_method_update
    • Add support for transaction_id on Charge.payment_method_details.ideal, PaymentAttemptRecord.payment_method_details.ideal, and PaymentRecord.payment_method_details.ideal
    • Add support for new value finom on enums Charge.payment_method_details.ideal.bank, ConfirmationToken.payment_method_preview.ideal.bank, PaymentAttemptRecord.payment_method_details.ideal.bank, PaymentMethod.ideal.bank, PaymentRecord.payment_method_details.ideal.bank, and SetupAttempt.payment_method_details.ideal.bank
    • Add support for new value FNOMNL22 on enums Charge.payment_method_details.ideal.bic, ConfirmationToken.payment_method_preview.ideal.bic, PaymentAttemptRecord.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, PaymentRecord.payment_method_details.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Add support for new value tokenized_account_number_deactivated on enums ConfirmationToken.payment_method_preview.us_bank_account.status_details.blocked.reason and PaymentMethod.us_bank_account.status_details.blocked.reason
    • Add support for created on CustomerBalanceTransaction.all().$params and InvoicePayment.all().$params
    • Add support for new values financial_connections.account.account_numbers_updated and financial_connections.account.upcoming_account_number_expiry on enum Event.type
    • Add support for account_numbers on FinancialConnections.Account
    • Change type of FinancialConnections.Session.client_secret from string to nullable(string)
    • Add support for fraud_risk on Issuing\Authorization.create().$params.risk_assessment
    • Add support for latest_fraud_warning on Issuing.Card
    • Add support for hooks on PaymentIntent.capture().$params, PaymentIntent.confirm().$params, PaymentIntent.create().$params, PaymentIntent.increment_authorization().$params, PaymentIntent.update().$params, and PaymentIntent
    • Add support for mb_way and twint on Refund.destination_details
    • Add support for snapshot events FINANCIAL_CONNECTIONS_ACCOUNT_ACCOUNT_NUMBERS_UPDATED and FINANCIAL_CONNECTIONS_ACCOUNT_UPCOMING_ACCOUNT_NUMBER_EXPIRY with resource FinancialConnections.Account

v18.2.0

Compare Source

  • #​1953 Update generated code
    • Add support for capture_method on PaymentIntent.confirm().$params.payment_method_option.card_present, PaymentIntent.create().$params.payment_method_option.card_present, PaymentIntent.payment_method_options.card_present, and PaymentIntent.update().$params.payment_method_option.card_present

v18.1.0

Compare Source

This release changes the pinned API version to 2025-10-29.clover.

  • #​1946 Update generated code
    • Improve docs for PaymentIntent related endpoints
  • #​1942 Update generated code
    • Add support for new resources PaymentAttemptRecord, PaymentIntentAmountDetailsLineItem, and PaymentRecord
    • Add support for all and retrieve methods on resource PaymentAttemptRecord
    • Add support for report_payment_attempt_canceled, report_payment_attempt_failed, report_payment_attempt_guaranteed, report_payment_attempt_informational, report_payment_attempt, report_payment, report_refund, and retrieve methods on resource PaymentRecord
    • Add support for all method on resource PaymentIntentAmountDetailsLineItem
    • Add support for representative_declaration on Account.company, Account.create().$params.company, Account.update().$params.company, and Token.create().$params.account.company
    • Change Billing\CreditGrant.create().$params.category to be optional
    • Add support for payment_method_configuration on BillingPortal\Configuration.create().$params.feature.payment_method_update and BillingPortal\Configuration.update().$params.feature.payment_method_update
    • Add support for new value solana on enum Charge.payment_method_details.crypto.network
    • Add support for twint on Checkout.Session.payment_method_options and Checkout\Session.create().$params.payment_method_option
    • Add support for new value custom on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for payment_record_refund and type on CreditNote.create().$params.refund, CreditNote.preview().$params.refund, CreditNote.preview_lines().$params.refund, and CreditNote.refunds[]
    • Add support for customer_sheet and mobile_payment_element on CustomerSession.components and CustomerSession.create().$params.component
    • Add support for provider on Customer.tax
    • Add support for new values balance_settings.updated and invoice.payment_attempt_required on enum Event.type
    • Add support for new value platform_terms_of_service on enum File.purpose
    • Add support for payment_record on Invoice.attach_payment().$params, InvoicePayment.all().$params.payment, and InvoicePayment.payment
    • Change type of InvoicePayment.all().$params.payment.type from literal('payment_intent') to enum('payment_intent'|'payment_record')
    • Add support for new value custom on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for amount_details on PaymentIntent.capture().$params, PaymentIntent.confirm().$params, PaymentIntent.create().$params, PaymentIntent.increment_authorization().$params, and PaymentIntent.update().$params
    • Add support for payment_details on PaymentIntent.capture().$params, PaymentIntent.confirm().$params, PaymentIntent.create().$params, PaymentIntent.increment_authorization().$params, PaymentIntent.update().$params, and PaymentIntent
    • Add support for discount_amount, line_items, shipping, and tax on PaymentIntent.amount_details
    • Add support for name_collection on PaymentLink.create().$params, PaymentLink.update().$params, and PaymentLink
    • Add support for new value mb_way on enum PaymentLink.payment_method_types
    • Add support for crypto on PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, and Refund.destination_details
    • Add support for mb_way on PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, and PaymentMethodConfiguration
    • Add support for custom on PaymentMethod.create().$params and PaymentMethod
    • Add support for excluded_payment_method_types on SetupIntent.create().$params, SetupIntent.update().$params, and SetupIntent
    • Add support for tw on Tax.Registration.country_options and Tax\Registration.create().$params.country_option
    • Add support for gip on Terminal.Configuration.tipping, Terminal\Configuration.create().$params.tipping, and Terminal\Configuration.update().$params.tipping
    • Add support for last_seen_at on Terminal.Reader
    • Add support for gt, gte, lt, lte, and types on V2\Core\Event.all().$params
    • Change V2\Core\Event.all().$params.object_id to be optional
    • Add support for snapshot event BALANCE_SETTINGS_UPDATED with resource BalanceSettings
    • Add support for snapshot event INVOICE_PAYMENT_ATTEMPT_REQUIRED with resource Invoice
    • Add support for error code payment_intent_rate_limit_exceeded on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

v18.0.0

Compare Source

This release changes the pinned API version to 2025-09-30.clover and contains breaking changes (prefixed with ⚠️ below)

  • #​1903 ⚠️ Add strongly typed EventNotifications
    We've overhauled how V2 Events are handled in the SDK! This approach should provide a lot more information at authoring and compile time, leading to more robust integrations. As part of this process, there are a number of changes to be aware of.

    • Added matching EventNotification classes for every v2 Event. For example, there's now a V1BillingMeterErrorReportTriggeredEventNotification to match the existing V1BillingMeterErrorReportTriggeredEvent. Each of these interfaces defines a fetchEvent() method to retrieve its corresponding event. For events with related objects, there's a fetchRelatedObject() method that performs the API call and casts the response to the correct type.
    • ⚠️ Rename function StripeClient->parseThinEvent to StripeClient->parseEventNotification and remove the ThinEvent class.
      • This function now returns a Stripe\V2\Core\EventNotification (which is the shared base class that all of the more specific Stripe\*EventNotifications classes share) instead of ThinEvent. When applicable, these event notifications will have the relatedObject property and a fetchRelatedObject() function. They also have a fetchEvent() method to retrieve their corresponding Stripe\Event\*Event instance.
      • If you parse an event the SDK doesn't have types for (e.g. it's newer than the SDK you're using), you'll get an instance of Stripe\Events\UnknownEventNotification instead of a more specific type. It has both the relatedObject property and the FetchRelatedObject() function (but they may be/return null)
    • ⚠️ removed the Util::json_decode_thin_event_object. Its functionality was folded into the new \Stripe\V2\EventNotification::fromJson method.
  • #​1925 add version deprecation note to README

    • NOTE: we'll be dropping support for PHP 5.6, 7.0, and 7.1 in the next major version (March 2026). The README has been updated with a link to our new language version support policy
  • #​1921 Update generated code

    • Change Invoice.id to be required.
  • #​1923 Update generated code

    • Remove support for balance_report and payout_reconciliation_report on AccountSession.components and AccountSession.create().$params.component
  • #​1920 Move V2.Event API resources to V2.Core.Events

    • ⚠️ Move all V2 Event-related resources (Event, RelatedObject, etc) from Stripe\V2 to Stripe\V2\Core. They now correctly match their API path and are in line with all other resources. To update your code:
    -Stripe\V2\Event
    +Stripe\V2\Core\Event
  • #​1916 Add StripeContext object

    • Add the StripeContext class. Previously you could only send a string for stripe-context header.
    • ⚠️ Change EventNotification (formerly known as ThinEvent)'s context property from string to StripeContext
  • #​1905 Added StripeContext, StripeAccount and StripeVersion to BaseStripeClientInterface

    • ⚠️ Add getter methods getStripeContext, getStripeVersion and getStripeAccount to BaseStripeClientInterface. Users with custom StripeClient that implement StripeClientInterface, StripeStreamingClientInterface or BaseStripeClientInterface will have to add implementations for these methods.
  • #​1898 ⚠️ Build SDK w/ V2 OpenAPI spec

    • ⚠️ The delete methods for v2 APIs (the ones in the StripeClient.v2 namespace) now return a V2DeletedObject which has the id of the object that has been deleted and a string representing the type of the object that has been deleted.
    • the generated types of some properties in EventDestination changed from something: null|string to something?: string
  • #​1900, #​1912 Update generated code based on incoming API changes in the 2025-09-30.clover API version.

    • ⚠️ Remove support for link and pay_by_bank on PaymentMethod.update().$params
    • ⚠️ Remove support for coupon on Discount, PromotionCode.create().$params, and PromotionCode. Use Discount.source.coupon, PromotionCode.create().$params.promotion.code, and PromotionCode.promotion.code instead.
    • ⚠️ Remove support for values saturday and sunday from enum Account.settings.payouts.schedule.weekly_payout_days
    • ⚠️ Remove support for iterations on Invoice.create_preview().$params.schedule_detail.phase, SubscriptionSchedule.create().$params.phase, and SubscriptionSchedule.update().$params.phase
    • Add support for new value prevented on enum Dispute.status
    • Add support for new resource BalanceSettings
    • Add support for retrieve and update methods on resource BalanceSettings
    • Add support for new values external_request and unsupported_business_type 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 source on Discount
    • Add support for mb_way_payments on Account.capabilities, Account.create().$params.capability, and Account.update().$params.capability
    • Add support for trial_update_behavior on BillingPortal.Configuration.features.subscription_update, BillingPortal\Configuration.create().$params.feature.subscription_update, and BillingPortal\Configuration.update().$params.feature.subscription_update
    • Add support for mb_way on Charge.payment_method_details, ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, 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, PaymentMethod, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for branding_settings and name_collection on Checkout.Session and Checkout\Session.create().$params
    • Add support for excluded_payment_method_types on Checkout.Session, Checkout\Session.create().$params, PaymentIntent.confirm().$params, and PaymentIntent.update().$params
    • Add support for unit_label on Checkout\Session.create().$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, and PaymentLink.create().$params.line_item.price_datum.product_datum
    • Add support for alma, billie, and satispay on Checkout.Session.payment_method_options and Checkout\Session.create().$params.payment_method_option
    • Add support for demo_pay on Checkout\Session.create().$params.payment_method_option
    • Add support for capture_method on Checkout.Session.payment_method_options.affirm, Checkout.Session.payment_method_options.afterpay_clearpay, Checkout.Session.payment_method_options.amazon_pay, Checkout.Session.payment_method_options.card, Checkout.Session.payment_method_options.cashapp, Checkout.Session.payment_method_options.klarna, Checkout.Session.payment_method_options.link, Checkout.Session.payment_method_options.mobilepay, Checkout.Session.payment_method_options.revolut_pay, Checkout\Session.create().$params.payment_method_option.affirm, Checkout\Session.create().$params.payment_method_option.afterpay_clearpay, Checkout\Session.create().$params.payment_method_option.amazon_pay, Checkout\Session.create().$params.payment_method_option.card, Checkout\Session.create().$params.payment_method_option.cashapp, Checkout\Session.create().$params.payment_method_option.klarna, Checkout\Session.create().$params.payment_method_option.link, Checkout\Session.create().$params.payment_method_option.mobilepay, and Checkout\Session.create().$params.payment_method_option.revolut_pay
    • Add support for flexible on Checkout\Session.create().$params.subscription_datum.billing_mode, Invoice.create_preview().$params.schedule_detail.billing_mode, Invoice.create_preview().$params.subscription_detail.billing_mode, Quote.create().$params.subscription_datum.billing_mode, Quote.subscription_data.billing_mode, Subscription.billing_mode, Subscription.create().$params.billing_mode, Subscription.migrate().$params.billing_mode, SubscriptionSchedule.billing_mode, and SubscriptionSchedule.create().$params.billing_mode
    • Add support for business_name and individual_name on Checkout.Session.collected_information, Checkout.Session.customer_details, Customer.create().$params, Customer.update().$params, and Customer
    • Add support for new values mb_way on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for chargeback_loss_reason_code on Dispute.payment_method_details.klarna
    • Add support for net_amount and proration_details on InvoiceItem
    • Add support for fraud_disputability_likelihood and risk_assessment on Issuing\Authorization.create().$params
    • Add support for second_line on Issuing.Card
    • Add support for new values mb_way on enum PaymentIntent.excluded_payment_method_types
    • Add support for fr_meal_voucher_conecs on PaymentMethodConfiguration.create().$params and PaymentMethodConfiguration.update().$params
    • Add support for promotion on PromotionCode.create().$params and PromotionCode
    • Add support for new values acknowledged and payment_never_settled on enum Review.closed_reason
    • Add support for provider on Tax.Settings.defaults
    • Add support for bbpos_wisepad3 on Terminal.Configuration, Terminal\Configuration.create().$params, and Terminal\Configuration.update().$params
    • Add support for address_kana, address_kanji, display_name_kana, display_name_kanji, and phone on Terminal.Location, Terminal\Location.create().$params, and Terminal\Location.update().$params
    • Change Terminal\Location.create().$params.address to be optional
    • Change Terminal\Location.create().$params.display_name to be optional
    • Add support for error codes financial_connections_account_pending_account_numbers and financial_connections_account_unavailable_account_numbers on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

v17.6.0

Compare Source

  • #​1895 Add section on private preview SDKs in readme
  • #​1890 Update generated code. This release changes the pinned API version to 2025-08-27.basil.
    • Add support for balance_report, payout_details, and payout_reconciliation_report on AccountSession.components and AccountSession.create().$params.component
    • Add support for name on BillingPortal.Configuration, BillingPortal\Configuration.create().$params, and BillingPortal\Configuration.update().$params
    • Add support for installments on Charge.payment_method_details.alma
    • Add support for transaction_id on Charge.payment_method_details.alma, Charge.payment_method_details.amazon_pay, Charge.payment_method_details.billie, Charge.payment_method_details.kakao_pay, Charge.payment_method_details.kr_card, Charge.payment_method_details.naver_pay, Charge.payment_method_details.payco, Charge.payment_method_details.revolut_pay, Charge.payment_method_details.samsung_pay, and Charge.payment_method_details.satispay
    • Add support for location and reader on Charge.payment_method_details.paynow
    • Add support for amount_includes_iof on Checkout.Session.payment_method_options.pix, Checkout\Session.create().$params.payment_method_option.pix, PaymentIntent.confirm().$params.payment_method_option.pix, PaymentIntent.create().$params.payment_method_option.pix, PaymentIntent.payment_method_options.pix, and PaymentIntent.update().$params.payment_method_option.pix
    • Add support for new values block and resolution on enum Dispute.payment_method_details.card.case_type
    • Add support for new value terminal_android_apk on enum File.purpose
    • Add support for metadata and period on Invoice.create_preview().$params.schedule_detail.phase.add_invoice_item, Subscription.create().$params.add_invoice_item, Subscription.update().$params.add_invoice_item, SubscriptionSchedule.create().$params.phase.add_invoice_item, SubscriptionSchedule.phases[].add_invoice_items[], and SubscriptionSchedule.update().$params.phase.add_invoice_item
    • Add support for exp_month and exp_year on Issuing\Card.create().$params
    • Add support for excluded_payment_method_types on PaymentIntent.create().$params and PaymentIntent
    • Add support for payout_method on Payout.create().$params and Payout
    • Add support for mxn on Terminal.Configuration.tipping, Terminal\Configuration.create().$params.tipping, and Terminal\Configuration.update().$params.tipping
    • Add support for card on Terminal\Reader.present_payment_method().$params
    • Add support for error codes customer_session_expired and india_recurring_payment_mandate_canceled on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
  • #​1894 Add getter for Stripe Account on BaseStripeClient
    • Add getStripeAccount method on BaseStripeClient to retrieve Stripe Account ID from a StripeClient instance.

v17.5.0

Compare Source

This release changes the pinned API version to 2025-07-30.basil.

  • #​1887 Update generated code
    • Add support for origin_context on Checkout.Session
  • #​1881 Ensure compatibility with POST on older versions of libcurl
    • Fixes an issue with older versions of php/libcurl where certain SDK calls that have empty POST bodies will result in a 400 Bad Request returned from the server.

v17.4.0

Compare Source

This release changes the pinned API version to 2025-06-30.basil.

  • #​1880 Update generated code
    • Add support for migrate method on resource Subscription
    • Add support for collect_payment_method and confirm_payment_intent methods on resource Terminal.Reader
    • Add support for new value crypto on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Change type of Dispute.enhanced_eligibility_types from literal('visa_compelling_evidence_3') to enum('visa_compelling_evidence_3'|'visa_compliance')
    • Add support for new value terminal.reader.action_updated on enum Event.type
    • Add support for related_person on Identity.VerificationSession
    • Add support for new value crypto on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for crypto on PaymentMethod
    • Add support for new value buut on enum PaymentMethod.ideal.bank
    • Add support for new value BUUTNL2A on enum PaymentMethod.ideal.bic
    • Add support for billing_mode on SubscriptionSchedule and Subscription
    • Add support for new values collect_payment_method and confirm_payment_intent on enum Terminal.Reader.action.type
    • Add support for snapshot event TERMINAL_READER_ACTION_UPDATED with resource Terminal.Reader
  • #​1878 Update generated code
    • Add constant CURRENT_MAJOR in ApiVersion

v17.3.0

Compare Source

This release changes the pinned API version to 2025-05-28.basil.

  • #​1871 Update generated code
    • Add support for attach_payment method on resource Invoice
    • Add support for collect_inputs method on resource Terminal.Reader
    • Add support for succeed_input_collection and timeout_input_collection test helper methods on resource Terminal.Reader
    • Add support for refund_and_dispute_prefunding on Balance
    • Add support for balance_type on BalanceTransaction
    • Add support for post_payment_amount and pre_payment_amount on CreditNote
    • Add support for new value mixed on enum CreditNote.type
    • Add support for new value invoice_payment.paid on enum Event.type
    • Add support for kakao_pay, kr_card, naver_pay, payco, and samsung_pay on PaymentMethodConfiguration
    • Add support for billing_thresholds on SubscriptionItem and Subscription
    • Add support for metadata on Tax.CalculationLineItem
    • Add support for new value collect_inputs on enum Terminal.Reader.action.type
    • Add support for new value simulated_stripe_s700 on enum Terminal.Reader.device_type
    • Add support for snapshot event INVOICE_PAYMENT_PAID with resource InvoicePayment
    • Add support for error code forwarding_api_upstream_error on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

v17.2.1

Compare Source

  • #​1869 Fixed type of map parameters(eg. metadata, currency_options) from StripeObject to array<KType, VType> in all methods.
  • #​1866 Adds CONTRIBUTING.md

v17.2.0

Compare Source

This release changes the pinned API version to 2025-04-30.basil.

  • #​1839 Update generated code
    • Add support for new value tax_id_prohibited on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for wallet_options on Checkout.Session
    • Add support for context on Event
    • Add support for new values aw_tin, az_tin, bd_bin, bf_ifu, bj_ifu, cm_niu, cv_nif, et_tin, kg_tin, and la_tin on enums Invoice.customer_tax_ids[].type and TaxId.type
    • Add support for new value affirm on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for pix on PaymentMethodConfiguration
    • Add support for klarna on PaymentMethodDomain
    • Add support for us_cfpb_data on Person
    • Add support for pending_reason on Refund
    • Change type of Tax.CalculationLineItem.reference from nullable(string) to string
  • #​1857 Include new PHP 8.3 and 8.4 in CI
  • #​1856 Faster parallel runner for PHP formatter

v17.1.1

Compare Source

  • #​1847 Remove stdClass from object shapes
    • Remove intersection with stdClass in resource properties and fixed instanceof checks.

v17.1.0

Compare Source

  • #​1843 Add null type in resource fields to non required objects
    • Fixes nullable resource properties that were incorrectly set as required in PHPDocs

v17.0.0

Compare Source

  • #​1837 Better type hints in your editor!!

    • Added type hints for method parameters
      • PHPStorm IDE with array type hints
    • Improved type hints for resource properties that are not primitive types. Take for example, the invoice settings in Customer resource. Previously, you could not reference inner fields like custom_fields on customer->invoice_settings without PHPStan complaining. This is now fixed.
  • #​1818 Support for APIs in the new API version 2025-03-31.basil

    This release changes the pinned API version to 2025-03-31.basil.

⚠️ Breaking changes due to changes in the Stripe API

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

  • Remove support for resources UsageRecordSummary and UsageRecord
  • Remove support for create method on resource UsageRecord
  • Remove support for all method on resource UsageRecordSummary
  • Remove support for upcomingLines and upcoming methods on resource Invoice
  • Remove support for invoice on Charge and PaymentIntent
  • Remove support for shipping_details on Checkout.Session
  • Remove support for refund on CreditNote
  • Remove support for tax_amounts on CreditNoteLineItem, CreditNote, and InvoiceLineItem
  • Remove support for amount_excluding_tax and unit_amount_excluding_tax on CreditNoteLineItem and InvoiceLineItem
  • Remove support for application_fee_amount, charge, paid_out_of_band, paid, payment_intent, quote, subscription, subscription_details, subscription_proration_date, tax, total_tax_amounts, and transfer_data on Invoice
  • Remove support for discount on Invoice and Subscription
  • Remove support for invoice_item, proration_details, proration, tax_rates, and type on InvoiceLineItem
  • Remove support for plan, price, and subscription_item on InvoiceItem and InvoiceLineItem
  • Remove support for subscription, unit_amount_decimal, and unit_amount on InvoiceItem
  • Remove support for aggregate_usage on Plan
  • Remove support for billing_thresholds on SubscriptionItem and Subscription
  • Remove support for current_period_end and current_period_start on Subscription
⚠️ Other Breaking changes in the SDK
  • #​1826 configure max_nextwork_retries at the client level
    • Allow setting maxNetworkRetries at the StripeClient level via a new argument to the RequestOptions constructor
      • ⚠️ (potentially breaking) a client's configuration for maxNetworkRetries is set during client initialization. Subsequent calls to Stripe::setMaxNetworkRetries() after client creation won't affect that client.
    • Allow setting maxNetworkRetries per-request via the max_network_retries config argument. This works for both the service and resource based patterns. In both cases, an explicitly passed value takes precedence over the global (or client) value.
  • #​1835 Removed the protected method _searchResource as it is no longer used
    • ⚠️ Removed _searchResource method and Search trait. Use the public search method on Charge, Customer, Invoice, PaymentIntent, Price, Product, and Subscription resource.
  • #​1832 Added requestCollection and requestSearchResult to StripeClientInterface
    • ⚠️ Added requestSearchResult, requestCollection to StripeClientInterface. Developers building custom StripeClient will now have to implement these new methods.
Additions
  • Add support for new resource InvoicePayment
  • Add support for all and retrieve methods on resource InvoicePayment
  • Add support for new values forwarding_api_retryable_upstream_error and setup_intent_mobile_wallet_unsupported on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
  • Add support for new values stripe_balance_payment_debit_reversal and stripe_balance_payment_debit on enum BalanceTransaction.type
  • Add support for new value last on enum Billing.Meter.default_aggregation.formula
  • Add support for presentment_details on Charge, Checkout.Session, PaymentIntent, and Refund
  • Add support for optional_items on Checkout.Session and PaymentLink
  • Add support for permissions on Checkout.Session
  • Add support for new value custom on enum Checkout.Session.ui_mode
  • Add support for new values billie, nz_bank_account, and satispay on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
  • Add support for refunds on CreditNote
  • Add support for total_taxes on CreditNote and Invoice
  • Add support for taxes on CreditNoteLineItem and InvoiceLineItem
  • Add support for checkout_session on CustomerBalanceTransaction
  • Add support for new values checkout_session_subscription_payment_canceled and checkout_session_subscription_payment on enum CustomerBalanceTransaction.type
  • Add support for new value invoice.overpaid on enum Event.type
  • Add support for amount_overpaid, confirmation_secret, and payments on Invoice
  • Add support for parent on InvoiceItem, InvoiceLineItem, and Invoice
  • Add support for new values klarna and nz_bank_account on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
  • Add support for pricing on InvoiceItem and InvoiceLineItem
  • Add support for new value network_fallback on enum Issuing.Authorization.request_history[].reason
  • Add support for new value expired on enum Issuing.Authorization.status
  • Add support for new value expired on enum PaymentIntent.cancellation_reason
  • Add support for new values billie and satispay on enum PaymentLink.payment_method_types
  • Add support for billie, nz_bank_account, and satispay on PaymentMethodConfiguration and PaymentMethod
  • Add support for new value canceled on enum Review.closed_reason
  • Add support for current_period_end and current_period_start on SubscriptionItem
  • Add support for wifi on Terminal.Configuration

v16.6.0

Compare Source

  • #​1809 Update generated code
    • Add support for priority on Billing.CreditGrant
    • Add support for collected_information on Checkout.Session
  • #​1816 add codeowners file

v16.5.1

Compare Source

  • #​1811 Include a useful error message when a null byte is found in the URL path
  • #​1810 Make httpClient() a public, static method

v16.5.0

Compare Source

  • #​1804 Update generated code
    • Add support for close method on resource Treasury.FinancialAccount
    • Add support for discounts on Checkout.Session
    • Add support for new value pay_by_bank on enum PaymentLink.payment_method_types[]
    • Add support for pay_by_bank on PaymentMethodConfiguration and PaymentMethod
    • Add support for new value pay_by_bank on enum PaymentMethod.type
    • Add support for is_default and nickname on Treasury.FinancialAccount
  • #​1805 Restore testCoreEventsGet generated test
  • #​1807 minor justfile fixes
  • #​1806 Added CONTRIBUTING.md file
  • #​1802 ensure dependencies are installed for format and test recipes
  • #​1801 Add justfile, remove coveralls, and fix AUTOLOAD in CI
  • #​1797 Added pull request template

v16.4.0

Compare Source

  • #​1793 This release changes the pinned API version to 2024-12-18.acacia.
    • Add support for new values payout_minimum_balance_hold and payout_minimum_balance_release on enum BalanceTransaction.type
    • Add support for allow_redisplay on Card and Source
    • Add support for regulated_status on Card
    • Add support for new value request_signature on enum Forwarding.Request.replacements[]
    • Change type of LineItem.description from string to nullable(string)
    • Add support for new values al_tin, am_tin, ao_tin, ba_tin, bb_tin, bs_tin, cd_nif, gn_nif, kh_tin, me_pib, mk_vat, mr_nif, np_pan, sn_ninea, sr_fin, tj_tin, ug_tin, zm_tin, and zw_tin on enum TaxId.type

v16.3.0

Compare Source

  • #​1786 This release changes the pinned API version to 2024-11-20.acacia.
    • Add support for respond test helper method on resource Issuing.Authorization
    • Add support for adaptive_pricing on Checkout.Session
    • Add support for new value subscribe on enums Checkout.Session.submit_type and PaymentLink.submit_type
    • Add support for new value financial_account_statement on enum File.purpose
    • Add support for fraud_challenges and verified_by_fraud_challenge on Issuing.Authorization
    • Add support for trace_id on Payout
    • Add support for new value li_vat on enum TaxId.type
    • Add support for new value service_tax on enum TaxRate.tax_type
    • Change type of Treasury.InboundTransfer.origin_payment_method from string to nullable(string)

v16.2.0

Compare Source

  • #​1772 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for new resource V2.EventDestinations
    • Add support for create, retrieve, update, list, delete, disable, enable and ping methods on resource V2.EventDestinations
    • Add support for submit_card test helper method on resource Issuing.Card
    • Add support for groups on Account
    • Add support for enhanced_eligibility_types on Dispute
    • Add support for new values issuing_transaction.purchase_details_receipt_updated and refund.failed on enum Event.type
    • Add support for metadata on Forwarding.Request
    • Add support for new value alma on enum PaymentLink.payment_method_types[]
    • Add support for alma on PaymentMethodConfiguration and PaymentMethod
    • Add support for kakao_pay, kr_card, naver_pay, payco, and samsung_pay on PaymentMethod
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enum PaymentMethod.type
    • Add support for amazon_pay on PaymentMethodDomain
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enum TaxId.type
    • Add support for flat_amount and rate_type on TaxRate
    • Add support for new value retail_delivery_fee on enum TaxRate.tax_type

v16.1.1

Compare Source

  • #​1775 Deserialize into correct v2 EventData types

    • Fixes a bug where v2 EventData was not being deserialized into the appropriate type for V1BillingMeterErrorReportTriggeredEvent and V1BillingMeterNoMeterFoundEvent
  • #​1776 update object tags for meter-related classes

    • fixes a bug where the object property of the MeterEvent, MeterEventAdjustment, and MeterEventSession didn't match the server.
  • #​1773 Clean up examples

  • #​1771 Renamed example file names

v16.1.0

Compare Source

  • #​1765 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

v16.0.0

Compare Source

  • #​1756 Support for APIs in the new API version 2024-09-30.acacia

    This release changes the pinned API version to 2024-09-30.acacia. Please read the API Changelog and carefully review the API changes before upgrading.

⚠️ Breaking changes
  • Rename usage_threshold_config to usage_threshold on Billing.Alert
  • Remove support for filter on Billing.Alert. Use the filters on the usage_threshold instead
Additions
  • Add support for new value international_transaction on enum Treasury.ReceivedCredit.failure_code
  • Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events under the v2 namespace
  • Add new method parseThinEvent() on the StripeClient class to parse thin events.
  • Add a new method rawRequest() on the StripeClient class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.

v15.10.0

Compare Source

  • #​1747 Update generated code
    • Add support for new value international_transaction on enum Treasury.ReceivedDebit.failure_code
  • #​1745 Update generated code
    • Add support for new value terminal_reader_invalid_location_for_activation on enum StripeError.code
    • Add support for automatically_finalizes_at on Invoice

v15.9.0

Compare Source

  • #​1737 Update generated code
    • Add support for new resource InvoiceRenderingTemplate
    • Add support for all, archive, retrieve, and unarchive methods on resource InvoiceRenderingTemplate

v15.8.0

Compare Source

  • #​1742 Generate SDK for OpenAPI spec version 1230
    • Add support for new value issuing_regulatory_reporting on enum File.purpose
    • Add support for new value hr_oib on enum TaxId.type
    • Add support for status_details on TestHelpers.TestClock

v15.7.0

Compare Source

v15.6.0

Compare Source

  • #​1729 Update generated code
    • Add support for activate, all, archive, create, deactivate, and retrieve methods on resource Billing.Alert
    • Add support for retrieve method on resource Tax.Calculation
    • Add support for new value invalid_mandate_reference_prefix_format on enum StripeError.code
    • Add support for related_customer on Identity.VerificationSession
    • Add support for new value financial_addresses.aba.forwarding on enums Treasury.FinancialAccount.active_features[], Treasury.FinancialAccount.pending_features[], and Treasury.FinancialAccount.restricted_features[]

v15.5.0

Compare Source

  • #​1727 Update generated code
    • Add support for new resources Billing.AlertTriggered and Billing.Alert
    • Add support for new value charge_exceeds_transaction_limit on enum StripeError.code
    • Add support for new value billing.alert.triggered on enum Event.type

v15.4.0

Compare Source

  • #​1726 Update generated code
    • Add support for update method on resource Checkout.Session
    • Add support for new values invoice.overdue and invoice.will_be_due on enum Event.type
    • Add support for twint on PaymentMethodConfiguration

v15.3.0

Compare Source

  • #​1724 Update generated code
    • Add support for new value issuing_dispute.funds_rescinded on enum Event.type
    • Add support for new value stripe_s700 on enum Terminal.Reader.device_type
  • #​1722 Update changelog

v15.2.0

Compare Source

  • #​1721 Update generated code
    • ⚠️ Remove support for values billing_policy_remote_function_response_invalid, billing_policy_remote_function_timeout, billing_policy_remote_function_unexpected_status_code, and billing_policy_remote_function_unreachable from enum StripeError.code.
    • ⚠️ Remove support for value payment_intent_fx_quote_invalid from enum StripeError.code. The was mistakenly released last week.
    • Add support for payment_method_options on ConfirmationToken

v15.1.0

Compare Source

  • #​1718 Update generated code
    • Add support for add_lines, remove_lines, and update_lines methods on resource Invoice
    • Add support for new value payment_intent_fx_quote_invalid on enum StripeError.code
    • Add support for new values multibanco, twint, and zip on enum PaymentLink.payment_method_types[]
    • Add support for posted_at on Tax.Transaction
    • Add support for reboot_window on Terminal.Configuration

v15.0.0

Compare Source

  • #​1714

    This release changes the pinned API version to 2024-06-20. Please read the API Changelog and carefully review the API changes before upgrading.

⚠️ Breaking changes
* Remove the unused resource `PlatformTaxFee`
* Remove the protected method `_searchResource` on resources Charge, Customer, Invoice, PaymentIntent, Price, Product, and Subscription as it is no longer used.
Additions
  • Add support for finalize_amount test helper method on resource Issuing.Authorization
  • Add support for fleet and fuel on Issuing.Authorization
  • Add support for new value ch_uid on enum TaxId.type

v14.10.0

Compare Source

  • #​1706 Update generated code
    • Add support for multibanco on PaymentMethodConfiguration and PaymentMethod
    • Add support for twint on PaymentMethod
    • Add support for new values multibanco and twint on enum PaymentMethod.type
    • Add support for invoice_settings on Subscription
    • Add support for new value de_stn on enum TaxId.type

v14.9.0

Compare Source

  • #​1702 Update generated code
    • Add support for new values issuing_personalization_design.activated, issuing_personalization_design.deactivated, issuing_personalization_design.rejected, and issuing_personalization_design.updated on enum Event.type
  • #​1701 Added PHPDocs for create, update, delete, all, retrieve methods after moving them out of traits.
  • #​1700 Add optional appInfo to StripeClient config
    • StripeClient can now accept $appInfo as a $config option, so AppInfo can be set per-client. If not passed in, will fall back on the global AppInfo set by Stripe::setAppInfo().
      • The config expects $appInfo to be of type array{name: string, version?: string, url?: string, partner_id?: string}

[v14.8.0](https:/


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added class: dependencies Pull requests that update a dependency file renovate PRs and Issues created by the RenovateBot labels Dec 1, 2025
@renovate

renovate Bot commented Dec 1, 2025

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update stripe/stripe-php:19.0.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires matronator/mtrgen ^2.0, found matronator/mtrgen[v2.0.0-alpha, ..., v2.x-dev] but the package is fixed to v1.2.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
  Problem 2
    - nette/application is locked to version v3.2.5 and an update of this package was not requested.
    - nette/application v3.2.5 requires php 8.1 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 3
    - nette/bootstrap is locked to version v3.2.3 and an update of this package was not requested.
    - nette/bootstrap v3.2.3 requires php 8.0 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 4
    - nette/caching is locked to version v3.3.0 and an update of this package was not requested.
    - nette/caching v3.3.0 requires php 8.0 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 5
    - nette/component-model is locked to version v3.1.0 and an update of this package was not requested.
    - nette/component-model v3.1.0 requires php 8.1 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 6
    - nette/database is locked to version v3.2.1 and an update of this package was not requested.
    - nette/database v3.2.1 requires php 8.1 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 7
    - nette/di is locked to version v3.2.2 and an update of this package was not requested.
    - nette/di v3.2.2 requires php 8.1 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 8
    - nette/forms is locked to version v3.2.3 and an update of this package was not requested.
    - nette/forms v3.2.3 requires php 8.1 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 9
    - nette/http is locked to version v3.3.0 and an update of this package was not requested.
    - nette/http v3.3.0 requires php 8.1 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 10
    - nette/mail is locked to version v4.0.2 and an update of this package was not requested.
    - nette/mail v4.0.2 requires php 8.0 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 11
    - nette/neon is locked to version v3.4.3 and an update of this package was not requested.
    - nette/neon v3.4.3 requires php 8.0 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 12
    - nette/robot-loader is locked to version v4.0.2 and an update of this package was not requested.
    - nette/robot-loader v4.0.2 requires php 8.0 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 13
    - nette/routing is locked to version v3.1.0 and an update of this package was not requested.
    - nette/routing v3.1.0 requires php 8.1 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 14
    - nette/safe-stream is locked to version v3.0.1 and an update of this package was not requested.
    - nette/safe-stream v3.0.1 requires php 8.0 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 15
    - nette/security is locked to version v3.2.0 and an update of this package was not requested.
    - nette/security v3.2.0 requires php 8.1 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 16
    - nette/schema is locked to version v1.3.0 and an update of this package was not requested.
    - nette/schema v1.3.0 requires php 8.1 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 17
    - nette/utils is locked to version v4.0.4 and an update of this package was not requested.
    - nette/utils v4.0.4 requires php >=8.0 <8.4 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 18
    - tracy/tracy is locked to version v2.10.7 and an update of this package was not requested.
    - tracy/tracy v2.10.7 requires php >=8.0 <8.4 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 19
    - latte/latte is locked to version v3.0.17 and an update of this package was not requested.
    - latte/latte v3.0.17 requires php 8.0 - 8.4 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 20
    - nette/tester is locked to version v2.5.3 and an update of this package was not requested.
    - nette/tester v2.5.3 requires php 8.0 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.
  Problem 21
    - contributte/translation is locked to version v2.0.5 and an update of this package was not requested.
    - contributte/translation v2.0.5 requires nette/http ^3.0.7 -> satisfiable by nette/http[v3.3.0].
    - nette/http v3.3.0 requires php 8.1 - 8.3 -> your php version (8.5.0) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate
renovate Bot enabled auto-merge (squash) December 1, 2025 00:29
@matronator
matronator merged commit eaf0346 into master Dec 1, 2025
1 of 3 checks passed
@matronator
matronator deleted the renovate/stripe-stripe-php-19.x branch December 1, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

class: dependencies Pull requests that update a dependency file renovate PRs and Issues created by the RenovateBot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant