[deps] Billing: Update Stripe.net to v47 #5020
Open
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 contains the following updates:
45.14.0
->47.1.0
Release Notes
stripe/stripe-dotnet (Stripe.net)
v47.1.0
2024-11-20.acacia
.Respond
test helper method on resourceIssuing.Authorization
Authorizer
onAccountRelationshipOptions
andTokenPersonRelationshipOptions
AdaptivePricing
onCheckout.SessionCreateOptions
andCheckoutSession
MandateOptions
onCheckoutSessionPaymentMethodOptionsBacsDebitOptions
,CheckoutSessionPaymentMethodOptionsBacsDebit
,CheckoutSessionPaymentMethodOptionsSepaDebitOptions
, andCheckoutSessionPaymentMethodOptionsSepaDebit
RequestExtendedAuthorization
,RequestIncrementalAuthorization
,RequestMulticapture
, andRequestOvercapture
onCheckoutSessionPaymentMethodOptionsCardOptions
andCheckoutSessionPaymentMethodOptionsCard
CaptureMethod
onCheckoutSessionPaymentMethodOptionsKakaoPayOptions
,CheckoutSessionPaymentMethodOptionsKrCardOptions
,CheckoutSessionPaymentMethodOptionsNaverPayOptions
,CheckoutSessionPaymentMethodOptionsPaycoOptions
, andCheckoutSessionPaymentMethodOptionsSamsungPayOptions
AccountHolderAddress
,AccountHolderName
,AccountType
, andBankAddress
onFundingInstructionsBankTransferFinancialAddressesAba
,FundingInstructionsBankTransferFinancialAddressesSwift
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesAba
, andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSwift
MerchantAmount
andMerchantCurrency
onIssuing.TestHelpersAuthorizationCreateOptions
FraudChallenges
andVerifiedByFraudChallenge
onIssuingAuthorization
SubmitType
onPaymentLinkUpdateOptions
TraceId
onPayout
NetworkDeclineCode
onRefundDestinationDetailsBlik
andRefundDestinationDetailsSwish
StartingAfter
andEndingBefore
properties fromStripe.V2.EventListOptions
andStripe.V2.EventDestinationListOptions
. These properties are not supported on V2 List APIs and would result in a HTTP 400 error if provided.v47.0.0
Historically, when upgrading webhooks to a new API version, you also had to upgrade your SDK version. Your webhook's API version needed to match the API version pinned by the SDK you were using to ensure successful deserialization of events. With the
2024-09-30.acacia
release, Stripe follows a new API release process. As a result, you can safely upgrade your webhook endpoints to any API version within a biannual release (likeacacia
) without upgrading the SDK.However, a bug in the
46.x.y
SDK releases meant that webhook version upgrades from the SDK's pinned2024-09-30.acacia
version to the new2024-10-28.acacia
version would fail. Therefore, we are shipping SDK support for2024-10-28.acacia
as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in theacacia
line will be released as minor versions.2024-10-28.acacia
."V2.EventDestinations
Create
,Get
,Update
,List
,Delete
,Disable
,Enable
andPing
methods on resourceV2.EventDestinations
SubmitCard
test helper method on resourceIssuing.Card
Groups
onAccountCreateOptions
,AccountUpdateOptions
, andAccount
AlmaPayments
,KakaoPayPayments
,KrCardPayments
,NaverPayPayments
,PaycoPayments
, andSamsungPayPayments
onAccountCapabilitiesOptions
andAccountCapabilities
DisableStripeUserAuthentication
onAccountSessionComponentsAccountManagementFeaturesOptions
,AccountSessionComponentsAccountManagementFeatures
,AccountSessionComponentsAccountOnboardingFeaturesOptions
,AccountSessionComponentsAccountOnboardingFeatures
,AccountSessionComponentsBalancesFeaturesOptions
,AccountSessionComponentsBalancesFeatures
,AccountSessionComponentsNotificationBannerFeaturesOptions
,AccountSessionComponentsNotificationBannerFeatures
,AccountSessionComponentsPayoutsFeaturesOptions
, andAccountSessionComponentsPayoutsFeatures
ScheduleAtPeriodEnd
onBillingPortalConfigurationFeaturesSubscriptionUpdateOptions
andBillingPortalConfigurationFeaturesSubscriptionUpdate
Alma
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataOptions
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentPaymentMethodDataOptions
,PaymentIntentPaymentMethodOptionsOptions
,PaymentIntentPaymentMethodOptions
,PaymentMethodConfigurationCreateOptions
,PaymentMethodConfigurationUpdateOptions
,PaymentMethodConfiguration
,PaymentMethodCreateOptions
,PaymentMethod
,RefundDestinationDetails
, andSetupIntentPaymentMethodDataOptions
KakaoPay
andKrCard
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsOptions
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataOptions
,ConfirmationTokenPaymentMethodPreview
,MandatePaymentMethodDetails
,PaymentIntentPaymentMethodDataOptions
,PaymentIntentPaymentMethodOptionsOptions
,PaymentIntentPaymentMethodOptions
,PaymentMethodCreateOptions
,PaymentMethod
,SetupAttemptPaymentMethodDetails
, andSetupIntentPaymentMethodDataOptions
NaverPay
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsOptions
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataOptions
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentPaymentMethodDataOptions
,PaymentIntentPaymentMethodOptionsOptions
,PaymentIntentPaymentMethodOptions
,PaymentMethodCreateOptions
,PaymentMethodUpdateOptions
,PaymentMethod
, andSetupIntentPaymentMethodDataOptions
Payco
andSamsungPay
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsOptions
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataOptions
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentPaymentMethodDataOptions
,PaymentIntentPaymentMethodOptionsOptions
,PaymentIntentPaymentMethodOptions
,PaymentMethodCreateOptions
,PaymentMethod
, andSetupIntentPaymentMethodDataOptions
EnhancedEvidence
onDisputeEvidenceOptions
andDisputeEvidence
EnhancedEligibilityTypes
onDispute
EnhancedEligibility
onDisputeEvidenceDetails
Metadata
onForwarding.RequestCreateOptions
andForwardingRequest
AutomaticallyFinalizesAt
onInvoiceCreateOptions
andInvoiceUpdateOptions
AmazonPay
onPaymentMethodDomain
FlatAmount
andRateType
onTaxCalculationTaxBreakdownTaxRateDetails
andTaxRate
By
,Cr
,Ec
,Ma
,Md
,Rs
,Ru
,Tz
, andUz
onTaxRegistrationCountryOptionsOptions
andTaxRegistrationCountryOptions
Pln
onTerminalConfigurationTippingOptions
andTerminalConfigurationTipping
v46.2.2
v46.2.1
object
property of theMeterEvent
,MeterEventAdjustment
, andMeterEventSession
didn't match the server.v46.2.0
v46.1.0
ThinEvent
to includeLivemode
andReason
Margin
that was accidentally made public in the last releasev46.0.0
#2980 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 Upgrade Guide and carefully review the API changes before upgrading.UsageThresholdConfig
toUsageThreshold
onBilling.Alert
andBilling.AlertCreateOptions
Filter
onBilling.Alert
andBillingAlert.AlertCreateOptions
. Use the filters on theUsageThreshold
insteadCustomerConsentCollected
onTerminal.ReaderProcessSetupIntentOptions
Refer to our migration guide for v46 for a list of backwards incompatible changes in this release. Here is a summary of things to watch out for:
Service
andServiceNested
base classes includingCreateEntity
and other*Entity
and*EntityAsync
methods,BasePath
, andBaseUrl
Stripe.Event
toStripe.EventTypes
. This class contains constants for event type strings.CapabilityService
is nowAccountCapabilityService
, and rename associated Options classes to match. This makes the classes more discoverable and the relationship between parent and child more clearCustomerFundingInstructions
) comes before the verb (e.g.Create
,List
).Newtonsoft.Json
dependency has been upgraded for all .NET target runtimes. This is potentially a breaking change if you also depend onNewtonsoft.Json
directly from your application. To migrate, please upgrade the version of Newtonsoft.Json your application depends on. If you have runtime conflicts with another library dependency, you can use<bindingRedirect>
to specify which version .NET should load (see https://stackoverflow.com/a/51053646 and https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/bindingredirect-element)Additions
UsageThreshold
onBilling.AlertCreateOptions
andBillingAlert
CustomUnitAmount
onProductDefaultPriceDataOptions
AllowRedisplay
onTerminal.ReaderProcessSetupIntentOptions
andTerminalReaderProcessConfigOptions
Billing.MeterEvent
,Billing.MeterEventAdjustments
,Billing.MeterEventSession
,Billing.MeterEventStream
and the new Events APICore.Events
under the v2 namespaceParseThinEvent()
on theStripeClient
class to parse thin events.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.V1
andV2
property accessors, so that instead ofyou can write:
This supports a move towards a services-based client pattern where a
StripeClient
instance consolidates configuration and service access. This enables you simultaneously use multiple clients with different configuration options (such as API keys), and makes it much easier to discover what services are available by inspecting the V1 and V2 properties (either manually or via your code editors auto-completion).Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.