-
Notifications
You must be signed in to change notification settings - Fork 572
Migration guide for v42
Richard Marmorstein edited this page Aug 16, 2023
·
8 revisions
In v41.0.0, stripe-dotnet
is now pinned to Stripe API version 2023-08-16
. When upgrading, please read the API upgrade guide and review each item to determine if changes are necessary for your integration to become compatible with 2023-08-16
.
Of particular note: Stripe has changed the defaults that apply when you use a PaymentIntent or SetupIntent without specifying the payment_method_types
parameter. Read more about this change here, and carefully review any of your code that calls PaymentIntent or SetupIntent APIs to see if you are affected.
"
⚠️ Remove deprecated constants fromEvent
.
-
#2744
⚠️ Generate more accurate types forAccountSettingsPayoutsScheduleOptions.DelayDays
,SubscriptionSchedulePhaseOptions.EndDate
,SubscriptionSchedulePhaseOptions.StartDate
, andSubscriptionSchedulePhaseOptions.TrialEnd
. These fields are dates or numbers that also support special signifier strings like "now". They have been changed to useAnyOf<...>
. -
#2746
⚠️ Change type ofAccountSettingsPayoutsScheduleOptions.MonthlyAnchor
from string to long. -
#2751
⚠️ MakeDiscount.Start
non-nullable⚠️ Reflect thatDiscount.Subscription
is not expandable⚠️ Reflect that several fields onInvoiceLineItem
are expandable.