#jcnguyen_36895_03919
1 messages · Page 1 of 1 (latest)
Yes you can give them a coupon/discount, then tweak the next Invoice the have an extra Invoice Item.
what do you meant by tweak the next invoice to have extra invoice item
i though when i create a subscription with priceid that's setup for reoccurring it will automatically collect the payment, no?
When the next Invoice is generated, it will have 1 hour before finalized and auto-collect the payment
In that 1 hour you will be able to modify the Invoice
i want to charge the user on the next invoice
but not the current one that created when you create a subscription
So i have this scenario.
User A already paid a subscription and end in 12/31 but doesn't exist in stripe yet. So i created a new subscription for this user. However, i don't want to bill this user when the subsubscription was created but want to bill on the next cycle
Yes I know, so
- Give the customer a discount to offset the current one when you create a Subscription
- Two options:
2.a Wait until next cycle, catch the invoice.created webhook event, then add the amount you want to charge for the previous offsetted Invoice
2.b Generate an Invoice Item for this Subscription, so the next cycle's Invoice will automatically pick it up
can i mark the invoice to paid
and on the next invoice it automatic charge the user?
and no need to change the pricing or apply discount
No I don't think there is such a convenience parameter, unfortunately. You would want to set up in 2 steps above
so when i create a subscription set PaymentBehavior = "default_incomplete" which allow me to set the invoice status to paid once it finalize
if it set it the invoice = paid that will update the subscription status to active and when the next cycle start stripe will auto bill correct
Why? I think that parameter has a different effect
Use default_incomplete to create Subscriptions with status=incomplete when the first invoice requires payment, otherwise start as active.
when subscription status = incomplete i then set the invoice to paid which rolled the subscription to active correct?
How do you set it?
Ah you marked it out of band?
Yeah that works too, same as giving them a coupon/discount
yes
sound good
and next invoice will automatic charge user if they have default CC set on their account correct
on their Customer object yes (remember to add the extra item for this cycle's amount)
Yes, is it what you wanted? Never mind if you didn't
I thought you want like, creating $10 Subscription, not charging them $10 on Oct 1, but charging $20 on Nov 1, then $10 onward on Dec 1 and so on
oh no
create subscription with $10 and not charge them and mark the invoice as paid then charge them $10 on the november so on
Okie, then nevermind!
another question when i mark the invoice as paid. there will be no payment_intent info correct?
Hmm not sure. I think there could be one and marked as succeded. But you can inspect the Invoice object to see
i just did and payment_intent is empty
Okie, so no PI