#lafafm - API versions

1 messages · Page 1 of 1 (latest)

plucky heart
#

1. Is it possible to set an oldest api version as default one to account? Or it could be changed just to the newest?
Yes, but you will need to reach out to support as you cannot do it through your dashboard. https://support.stripe.com/?contact=true

#

2. Is there any way to add a developer access only to sandbox mode? Or view-only just to sandbox? So account can't see any production info?
Unfortunately not as far as I am aware. You can ask support about this as well just in case though. They know more about account setup

#

**3. Is there are good way of managing packages? E.g. we are gonna have one main product / pricing and allow our customers to choose as much additional packages as they want. Main product may have Monthly or Yearly payment periods. The question is - how to properly manage packages in that case? **
For this we typically recommend creating one Product for each thing like "Netflix subscription" and then create a Price for each billing period that you sell the product for.
If customer want to switch main product from Monthly to Yearly billing - how can we choose the right package pricing for it? Or the only way to make it - through some internal code conventions?
We have a doc on updating subscriptions like this in the API. You can basically swap out the price that your subscription is charging based on
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade

buoyant mountain
#

Re:

We have a doc on updating subscriptions like this in the API. You can basically swap out the price that your subscription is charging based on

I saw that article, but don't found an answer for my question here

So, for example
Customer is having subscription with

  • 1x - Main product 'A' with Monthly Pricing
  • 2x - Any additional packages with Monthly Pricing

And then Customer want to switch his main product to product 'B' with a different (Yearly) pricing

What's the proper way of managing packages in that case? If we to keep all of them after subscription change?

plucky heart
#

Basically the same way except you would be picking a specific subscription item to update.

#

If you update one item, all the other things on the subscription will stay the same

buoyant mountain
#

Yea, but you can't have one item on Yearly and other on Monthly