Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
current_subscription_phase = stripe_schedule.phases.first
stripe_schedule.save(
phases: [
current_subscription_phase,
{
start_date: current_subscription_phase.end_date,
plans: [
{ plan: target_plan.code }
]
}
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.