Created
May 6, 2023 19:43
-
-
Save hirowatari/50b7cce8751911b57c980b53d8c87393 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stripe::Invoice.upcoming(customer: stripe_subscription.customer, | |
subscription: stripe_subscription.id, | |
subscription_cancel_now: true) | |
.period_end | |
# previously period_end was the date the period would end if the subscription was not canceled | |
# this changed to return present time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment