stripe-samples / checkout-one-time-payments

Use Checkout to quickly collect one-time payments.
https://checkout.stripe.dev/?mode=payment
MIT License
844 stars 448 forks source link

build(deps): bump stripe from 9.5.0 to 10.10.0 in /server/python #694

Closed dependabot[bot] closed 3 weeks ago

dependabot[bot] commented 4 weeks ago

Bumps stripe from 9.5.0 to 10.10.0.

Release notes

Sourced from stripe's releases.

v10.10.0

  • #1376 Update generated code
    • Add support for subscription on parameter class stripe.billing.Alert.CreateParamsFilter
    • Change type of customer_consent_collected on stripe.terminal.Reader.ProcessSetupIntentParams from bool to NotRequired[bool]

See the changelog for more details.

v10.9.0

  • #1385 Generate SDK for OpenAPI spec version 1230
    • Add support for status_details on resource stripe.test_helpers.TestClock
    • Change type of fields on stripe.AccountLink.CreateParamsCollectionOptions from Literal['currently_due', 'eventually_due'] to NotRequired[Literal['currently_due', 'eventually_due']]
    • Add support for hr_oib on enums stripe.checkout.Session.CustomerDetails.TaxId.type, stripe.Customer.CreateParamsTaxIdDatum.type, stripe.Customer.CreateTaxIdParams.type, stripe.Invoice.CustomerTaxId.type, stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type, stripe.tax.Calculation.CustomerDetails.TaxId.type, stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type, stripe.tax.Transaction.CustomerDetails.TaxId.type, stripe.TaxId.type, and stripe.TaxId.CreateParams.type
    • Add support for issuing_regulatory_reporting on enums stripe.File.purpose, stripe.File.CreateParams.purpose, and stripe.File.ListParams.purpose

See the changelog for more details.

v10.9.0b2

  • #1377 Update generated code for beta
    • Add support for mb_way_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for mb_way on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resource stripe.PaymentMethod
    • Remove support for phases on parameter classes stripe.Quote.CreateParams and stripe.Quote.ModifyParams
    • Remove support for from_schedule on parameter class stripe.Quote.CreateParamsSubscriptionData
    • Add support for mb_way on enums stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type
    • Add support for hr_oib on enums stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Remove support for accepted on enum stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status
    • Remove support for partner_rejected on enum stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status
    • Remove support for submitted on enum stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status

See the changelog for more details.

v10.9.0b1

  • #1375 Update generated code for beta
    • Add support for capital_financing on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for permissions on parameter class stripe.checkout.Session.CreateParams and resource stripe.checkout.Session
    • Add support for collected_information on parameter class stripe.checkout.Session.ModifyParams and resource stripe.checkout.Session
    • Add support for shipping_options on parameter class stripe.checkout.Session.ModifyParams

See the changelog for more details.

v10.8.0

  • #1373 Update generated code
    • Add support for authorization_code on resource class stripe.Charge.PaymentMethodDetails.Card
    • Add support for wallet on resource classes stripe.Charge.PaymentMethodDetails.CardPresent, stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent, stripe.ConfirmationToken.PaymentMethodPreview.CardPresent, stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent, and stripe.PaymentMethod.CardPresent
    • Add support for mandate_options on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebit, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebit and resource class stripe.PaymentIntent.PaymentMethodOptions.BacsDebit
    • Add support for bacs_debit on parameter classes stripe.SetupIntent.ConfirmParamsPaymentMethodOptions, stripe.SetupIntent.CreateParamsPaymentMethodOptions, and stripe.SetupIntent.ModifyParamsPaymentMethodOptions and resource class stripe.SetupIntent.PaymentMethodOptions
    • Add support for chips on resource classes stripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWire and stripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire and parameter classes stripe.treasury.OutboundPayment.UpdateParamsTrackingDetailsUsDomesticWire and stripe.treasury.OutboundTransfer.UpdateParamsTrackingDetailsUsDomesticWire
    • Change type of imad on stripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWire and stripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire from str to Optional[str]

See the changelog for more details.

... (truncated)

Changelog

Sourced from stripe's changelog.

10.10.0 - 2024-09-05

  • #1376 Update generated code
    • Add support for subscription on parameter class stripe.billing.Alert.CreateParamsFilter
    • Change type of customer_consent_collected on stripe.terminal.Reader.ProcessSetupIntentParams from bool to NotRequired[bool]

10.9.0 - 2024-08-29

  • #1385 Generate SDK for OpenAPI spec version 1230
    • Add support for status_details on resource stripe.test_helpers.TestClock
    • Change type of fields on stripe.AccountLink.CreateParamsCollectionOptions from Literal['currently_due', 'eventually_due'] to NotRequired[Literal['currently_due', 'eventually_due']]
    • Add support for hr_oib on enums stripe.checkout.Session.CustomerDetails.TaxId.type, stripe.Customer.CreateParamsTaxIdDatum.type, stripe.Customer.CreateTaxIdParams.type, stripe.Invoice.CustomerTaxId.type, stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type, stripe.tax.Calculation.CustomerDetails.TaxId.type, stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type, stripe.tax.Transaction.CustomerDetails.TaxId.type, stripe.TaxId.type, and stripe.TaxId.CreateParams.type
    • Add support for issuing_regulatory_reporting on enums stripe.File.purpose, stripe.File.CreateParams.purpose, and stripe.File.ListParams.purpose

10.8.0 - 2024-08-15

  • #1373 Update generated code
    • Add support for authorization_code on resource class stripe.Charge.PaymentMethodDetails.Card
    • Add support for wallet on resource classes stripe.Charge.PaymentMethodDetails.CardPresent, stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent, stripe.ConfirmationToken.PaymentMethodPreview.CardPresent, stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent, and stripe.PaymentMethod.CardPresent
    • Add support for mandate_options on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebit, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebit and resource class stripe.PaymentIntent.PaymentMethodOptions.BacsDebit
    • Add support for bacs_debit on parameter classes stripe.SetupIntent.ConfirmParamsPaymentMethodOptions, stripe.SetupIntent.CreateParamsPaymentMethodOptions, and stripe.SetupIntent.ModifyParamsPaymentMethodOptions and resource class stripe.SetupIntent.PaymentMethodOptions
    • Add support for chips on resource classes stripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWire and stripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire and parameter classes stripe.treasury.OutboundPayment.UpdateParamsTrackingDetailsUsDomesticWire and stripe.treasury.OutboundTransfer.UpdateParamsTrackingDetailsUsDomesticWire
    • Change type of imad on stripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWire and stripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire from str to Optional[str]

10.7.0 - 2024-08-08

  • #1371 Update generated code
    • Add support for type on resource classes stripe.Charge.PaymentMethodDetails.CardPresent.Offline, stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline, stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline, and stripe.SetupAttempt.PaymentMethodDetails.CardPresent.Offline
    • Add support for offline on resource classes stripe.ConfirmationToken.PaymentMethodPreview.CardPresent and stripe.PaymentMethod.CardPresent
    • Add support for _cls_activate on resource stripe.billing.Alert
    • Add support for _cls_archive on resource stripe.billing.Alert
    • Add support for _cls_deactivate on resource stripe.billing.Alert
    • Add support for activate on resource stripe.billing.Alert
    • Add support for archive on resource stripe.billing.Alert
    • Add support for create on resource stripe.billing.Alert
    • Add support for deactivate on resource stripe.billing.Alert
    • Add support for list on resource stripe.billing.Alert
    • Add support for retrieve on resources stripe.billing.Alert and stripe.tax.Calculation
    • Add support for related_customer on parameter classes stripe.identity.VerificationSession.CreateParams and stripe.identity.VerificationSession.ListParams and resource stripe.identity.VerificationSession
    • Add support for invalid_mandate_reference_prefix_format on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code
    • Add support for girocard on enums stripe.PaymentIntent.PaymentMethodOptions.Card.network, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard.network, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard.network, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.PaymentMethodOptions.Card.network, stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.CreateParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.ModifyParamsPaymentMethodOptionsCard.network, stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.network, stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCard.network, and stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCard.network
    • Add support for financial_addresses.aba.forwarding on enums stripe.treasury.FinancialAccount.active_features, stripe.treasury.FinancialAccount.pending_features, and stripe.treasury.FinancialAccount.restricted_features
    • Change type of count on stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan from int to NotRequired[int]
    • Change type of interval on stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan from Literal['month'] to NotRequired[Literal['month']]
    • Change type of account on stripe.Person.AdditionalTosAcceptances from Account to Optional[Account]

10.6.0 - 2024-08-01

  • #1369 Update generated code
    • Add support for resource stripe.billing.Alert
    • ⚠️ Remove support for authorization_code on resource class stripe.Charge.PaymentMethodDetails.Card. This was accidentally released last week.
    • Add support for billing.alert.triggered on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for charge_exceeds_transaction_limit on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code

10.5.0 - 2024-07-25

... (truncated)

Commits
  • f9ef46f Bump version to 10.10.0
  • 90f59fc Update generated code (#1376)
  • 3d0426f Bump version to 10.9.0
  • 9c9c6df Generate SDK for OpenAPI spec version 1230 (#1385)
  • 25343ed No need for api_mode to be passed around from individual API methods (#1383)
  • 2326675 Changed V1File implementation to pass content_type in options (#1382)
  • 4526410 Do not share RequestorOptions between APIRequestor instances if not passed (#...
  • cf7bb8b Update http client comment (#1381)
  • 86c9f23 Chain exceptions when reraising them (#1366)
  • 5ff3d4b Bump version to 10.8.0
  • Additional commits viewable in compare view


Dependabot compatibility score

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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show 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)