Closed nryanl closed 7 months ago
Should we include a fix for https://github.com/arlyon/async-stripe/issues/419 in this since you are doing work around at_period_end
already?
I don't mind merging this now and opening a new PR. Thanks! We are waiting on a fix in #426 to fix CI and then I will ask you to rebase.
Same as #402. Accidentally closed. Sorry!
Corrected CancelSubscription fields for current Stripe API version.
A fix for #394
https://stripe.com/docs/api/subscriptions/cancel
According to the current Stripe API in the link above, there is no "reason" field within cancellation_details any longer. This also aligns with my testing where it did not recognize the parameter. Consider removing this struct in future versions. For now, users can leave this as None.
at_period_end
withinvoice_now
cancellation_details
fieldprorate
fieldChecklist
cargo make fmt