#feminaagravat_39821
1 messages · Page 1 of 1 (latest)
for example user has purchased subscription of $500 main membership on Jan 1, 2023. So his next invoice will be on Jan 1,2024.
But today he is adding new item of $200 in that active subscription
So i want users to right now pay few amount for aug,sep,oct,nov,dec.
and then in next bill it will add full $200.
yes
What have you tried so far? Have you tried updating the subscription to add the item?
yes , but it will billed yearly. in next invoice.
Have you tried setting proration_behavior to always_invoice? https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#proration
If you have a request ID for your subscription update call, I can take a look
Will stripe directly cut the prorated charge from saved card ?
If you invoice for prorations and the subscription is set to charge automatically, a payment will be attempted
I recommend testing this out to ensure you build something that's right for you and your customers
So when they add item which means update the subscription price it will send invoice.
right ?
It should but I still recommend testing this out so you build out the right flow. For example, you can use the preview an upcoming invoice API to show a customer the prorated charges for Aug - December: https://stripe.com/docs/billing/subscriptions/prorations#preview-proration
Ok Let me try and test this and will ask query if i have any
Can I pass proration in checkout session when user is trying to pay for new item ?
@brittle sandal @silent hornet Are you there ?
No, you can't use Checkout to update an existing subscription. Checkout can only be used to create brand-new subscriptions.
ok, Then can we use any method to get payment of update subscription other than invoice?
I don't really follow your question. Can you rephrase?
We have main membership and add ons. On my website we have page call renewal. On this page they can add new add on items while renewing the existing membership
From this page user can purchase only add on for active membership
so I have one subscription is active on silver membership . so now when user purchase social media add-on i want to add that as new subscription item
the user will pay for that immediately .
What's your question, where are you blocked?
Actually , Along with subscription i want my customer to allow them to pay early.
So that should change the next billing date.
I still recommend testing this out. You likely want to use billing_cycle_anchor when updating the Subscription so you reset the anchor date to the current date/time: https://stripe.com/docs/billing/subscriptions/billing-cycle#changing
I recommend using Test Clocks as part of your testing: https://stripe.com/docs/billing/testing/test-clocks
Ok Let me try.
I have too many requirements with recurring
Can I change billing cycle anchor to future date ?
Say for example subscription auto renewal date is jan 1,2024
But my customer pays on Nov 2,2023 to get some discount which is early renewal than auto renewal.
So when they pay early on nov 2 so next invoice should trigger on Jan 1,2025 not on jan 1,2024
Hello! I'm taking over and catching up...
You can set billing_cycle_anchor to now when updating a Subscription as documented here: https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_cycle_anchor
If you want to schedule a change to it in the future you should use a Subscription Schedule.