#diava-subs
1 messages · Page 1 of 1 (latest)
@sharp oak it's an API call, you can make it at any time you want to. You probably should make it clear to the customer what you're doing.
some changes might require a payment(https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#immediate-payment), depends on the change so for that at least you need the customer to be involved.
do you have an example ? Because i read this part before and didnt understand
an example of what specifically?
of what situation customer have to be involved
the link says what the cases are.
Stripe immediately attempts payment for these subscription changes:
- From a subscription that doesn’t require payment (e.g., due to a trial or free subscription) to a paid subscription
- When the billing period changes
or you can force it to happen if you need to :
If you want the customer to immediately pay the price difference when switching to a more expensive subscription on the same billing cycle, you can set proration_behavior to always_invoice, which will calculate the proration and then immediately generate an invoice after making the switch.
my service have 30 days trial then you need to pay so i have to force it with always_invoice ? If not, Customer has to be involved ?
an invoice is created automatically when the trial ends, you don't have to force one.
Sorry for being dumb lol, but you say "the link says what the cases are." i'm reading it but i dont see where the customer have to give his auth, sorry again lmao
what is "his auth"?
like I said, it's an API call that changes the subscription. You write code to make the call. If you want the user to give you some approval before you make the API call you can, but that's all business logic in the system you're building and not something Stripe knows anything about.