Skip to content

Upgrading stripe 9 to 10

Breaking9.12.1 → 10.12.1Breaking28New146Changed6Other3

Fetching 24 releases from GitHub…23 / 24
BreakingUpgrade verdict

23 breaking changes.

  • Removes support for `list` on resource `stripe.QuotePhase`.
  • Removes support for `rechnung` on `stripe.PaymentMethod.ModifyParams`.
  • The `phases` option is no longer accepted when creating or modifying a quote.
  • The `from_schedule` option is no longer accepted when creating a quote subscription.
Top 3 of 23 that need code or config changes
Breaking23
Removes support for list on resource stripe.QuotePhase.
stripe.QuotePhaselist
Removes support for rechnung on stripe.PaymentMethod.ModifyParams.
stripe.PaymentMethod.ModifyParams
Removes support for phases on stripe.Quote.CreateParams and stripe.Quote.ModifyParams.
stripe.Quote.CreateParamsstripe.Quote.ModifyParamsphases
Removes support for from_schedule on stripe.Quote.CreateParamsSubscriptionData.
stripe.Quote.CreateParamsSubscriptionDatafrom_schedule
Removes accepted from the Visa Compelling Evidence 3 status enum on stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.
stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.statusacceptedpartner_rejectedsubmitted
Removes support for risk_correlation_id on PaymentIntent Rechnung parameter and resource classes.
stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRechnungstripe.PaymentIntent.CreateParamsPaymentMethodOptionsRechnungstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRechnungstripe.PaymentIntent.PaymentMethodOptions.Rechnungrisk_correlation_id
Removes support for partner_rejected_details on stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.
stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3partner_rejected_details
Removes support for authorization_code on stripe.Charge.PaymentMethodDetails.Card, which was accidentally released last week.
stripe.Charge.PaymentMethodDetails.Cardauthorization_code
Removes support for charge on resource stripe.InvoicePayment.
stripe.InvoicePayment
Removes support for payment_intent on resource stripe.InvoicePayment.
stripe.InvoicePayment
Removes support for billing_policy_remote_function_response_invalid on enum stripe.QuotePreviewInvoice.LastFinalizationError.code.
stripe.QuotePreviewInvoice.LastFinalizationError.codebilling_policy_remote_function_response_invalidbilling_policy_remote_function_unexpected_status_codebilling_policy_remote_function_timeoutbilling_policy_remote_function_unreachable
Removes support for payment_intent_fx_quote_invalid on enum stripe.QuotePreviewInvoice.LastFinalizationError.code.
stripe.QuotePreviewInvoice.LastFinalizationError.codepayment_intent_fx_quote_invalid
Removes support for four billing_policy_remote_function_* error codes from several error code enums.
stripe.Invoice.LastFinalizationError.codestripe.PaymentIntent.LastPaymentError.codestripe.SetupAttempt.SetupError.codestripe.SetupIntent.LastSetupError.codebilling_policy_remote_function_response_invalidbilling_policy_remote_function_timeoutbilling_policy_remote_function_unexpected_status_codebilling_policy_remote_function_unreachable
Removes support for payment_intent_fx_quote_invalid from several error code enums after it was mistakenly released.
stripe.Invoice.LastFinalizationError.codestripe.PaymentIntent.LastPaymentError.codestripe.SetupAttempt.SetupError.codestripe.SetupIntent.LastSetupError.codepayment_intent_fx_quote_invalid
Removes support for payment_method_update on CustomerSession payment element features classes.
stripe.CustomerSession.Components.PaymentElement.Featuresstripe.CustomerSession.CreateParamsComponentsPaymentElementFeaturespayment_method_update
Removes support for payment_method_set_as_default on stripe.CustomerSession.Components.PaymentElement.Features and its create params class.
stripe.CustomerSession.Components.PaymentElement.Featuresstripe.CustomerSession.CreateParamsComponentsPaymentElementFeaturespayment_method_set_as_default
Removes the unused resource PlatformTaxFee.
PlatformTaxFee
Renames volume_decimal to quantity_decimal on Issuing fuel parameter and resource classes.
stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuelstripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuelstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuelstripe.issuing.Transaction.PurchaseDetails.Fuelvolume_decimalquantity_decimal
Changes tax_amounts on stripe.InvoiceLineItem from Optional[List[TaxAmount]] to List[TaxAmount].
stripe.InvoiceLineItemtax_amounts
Changes tax_rates on stripe.InvoiceLineItem from Optional[List[TaxRate]] to List[TaxRate].
stripe.InvoiceLineItemtax_rates
Changes status_details on stripe.test_helpers.TestClock from Optional[StatusDetails] to StatusDetails.
stripe.test_helpers.TestClockstatus_details
Changes type of imad on Treasury US domestic wire tracking details from str to Optional[str].
imadstripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWirestripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire
Changes type of payment_element on stripe.CustomerSession.Components from Optional[PaymentElement] to PaymentElement.
stripe.CustomerSession.Componentspayment_elementPaymentElement

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • removed: export PlatformTaxFee
  • added: export InvoiceRenderingTemplate
  • added: export InvoiceRenderingTemplateService
  • removed: export PlatformTaxFee
  • added: export InvoiceRenderingTemplate
  • added: export Alert
  • added: export AlertTriggered
  • added: export Alert
  • added: export AlertService
  • added: export AlertTriggered