[Snyk] Upgrade stripe from 11.18.0 to 16.0.0 #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade stripe from 11.18.0 to 16.0.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 131 versions ahead of your current version.
The recommended version was released on 21 days ago.
Release notes
Package name: stripe
#2113
This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
PlatformTaxFee
volume_decimal
toquantity_decimal
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel
,Issuing.Transaction.purchase_details.fuel
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
Capabilities.Requirements.disabled_reason
andCapabilities.Requirements.disabled_reason
are now enums with the below valuesother
paused.inactivity
pending.onboarding
pending.review
platform_disabled
platform_paused
rejected.inactivity
rejected.other
rejected.unsupported_business
requirements.fields_needed
Additions
charging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
, andpound
on enumsIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit
card_canceled
,card_expired
,cardholder_blocked
,insecure_authorization_method
, andpin_blocked
on enumIssuing.Authorization.request_history[].reason
finalize_amount
test helper method on resourceIssuing.Authorization
ch_uid
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
ch_uid
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
fleet
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details
,Issuing.AuthorizationCreateParams.testHelpers
,Issuing.Authorization
,Issuing.Transaction.purchase_details
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details
fuel
onIssuing.AuthorizationCreateParams.testHelpers
andIssuing.Authorization
industry_product_code
andquantity_decimal
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel
,Issuing.Transaction.purchase_details.fuel
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
2024-06-20
on enumWebhookEndpointCreateParams.api_version
#2118 Use worker module in Bun
See the changelog for more details.
mobilepay
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
tax_id_collection
onPaymentLinkUpdateParams
PaymentIntentConfirmParams.mandate_data
fromStripe.Emptyable<PaymentIntentConfirmParams.MandateData1 | PaymentIntentConfirmParams.MandateData2>
toStripe.Emptyable<PaymentIntentConfirmParams.MandateData>
where the new MandateData is a union of all the properties of MandateData1 and MandateData2PaymentMethodCreateParams.card
fromPaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2
toPaymentMethodCreateParams.Card
where the new Card is a union of all the properties of Card1 and Card2SetupIntentConfirmParams.mandate_data
fromStripe.Emptyable<SetupIntentConfirmParams.MandateData1 | SetupIntentConfirmParams.MandateData2>
toStripe.Emptyable<SetupIntentConfirmParams.MandateData>
where the new MandateData is a union of all the properties of MandateData1 and MandateData2See the changelog for more details.
de_stn
on enumsOrderCreateParams.tax_details.tax_ids[].type
andOrderUpdateParams.tax_details.tax_ids[].type
de_stn
on enumOrder.tax_details.tax_ids[].type
See the changelog for more details.
multibanco_payments
andtwint_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
twint
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
multibanco
onCheckout.Session.payment_method_options
,Checkout.SessionCreateParams.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,Refund.destination_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
multibanco
andtwint
on enumsCheckout.SessionCreateParams.payment_method_types[]
,CustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
de_stn
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
multibanco
andtwint
on enumsConfirmationTokenCreateParams.testHelpers.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
multibanco
andtwint
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
de_stn
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
multibanco_display_details
onPaymentIntent.next_action
invoice_settings
onSubscription
See the changelog for more details.
twint
onPaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_options
, andPaymentIntentUpdateParams.payment_method_options
See the changelog for more details.
gb_bank_transfer_payments
,jp_bank_transfer_payments
,mx_bank_transfer_payments
,sepa_bank_transfer_payments
, andus_bank_transfer_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
swish
on enumsInvoice.payment_settings.payment_method_types[]
,InvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,Subscription.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
See the changelog for more details.
en-RO
andro-RO
on enumsOrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale
andOrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale
See the changelog for more details.
verification_requires_additional_proof_of_registration
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
, andBankAccount.requirements.errors[].code
default_value
onCheckout.Session.custom_fields[].dropdown
,Checkout.Session.custom_fields[].numeric
,Checkout.Session.custom_fields[].text
,Checkout.SessionCreateParams.custom_fields[].dropdown
,Checkout.SessionCreateParams.custom_fields[].numeric
, andCheckout.SessionCreateParams.custom_fields[].text
generated_from
onConfirmationToken.payment_method_preview.card
andPaymentMethod.card
issuing_personalization_design.activated
,issuing_personalization_design.deactivated
,issuing_personalization_design.rejected
, andissuing_personalization_design.updated
on enumEvent.type
Issuing.Card.personalization_design
andIssuing.PhysicalBundle.features
to be requireden-RO
andro-RO
on enumsPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
issuing_personalization_design.activated
,issuing_personalization_design.deactivated
,issuing_personalization_design.rejected
, andissuing_personalization_design.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
See the changelog for more details.
external_account_collection
onAccountSession.components.balances.features
,AccountSession.components.payouts.features
,AccountSessionCreateParams.components.balances.features
, andAccountSessionCreateParams.components.payouts.features
terminal_reader_invalid_location_for_payment
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
payment_method_remove
onCheckout.Session.saved_payment_method_options
See the changelog for more details.
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: