Open AbhiAgarwal opened 7 years ago
the price changes are handled by stripe and not us. should probably move the current price calculations to stripe as well just to be on the safe side
params := &stripe.SubParams{
Plan: "pro-monthly",
}
subscription, err := sub.Update("sub_49ty4767H20z6a", params)
upgrading a plan:
downgrading a plan:
https://stripe.com/docs/subscriptions/upgrading-downgrading
can probably try on a demo account how it works. not too sure what it does when you change a plan... will have to look into it more carefully