#adityalystlocdeveloper_33428

1 messages · Page 1 of 1 (latest)

eternal thunderBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

jaunty parcel
vapid prairie
#

my case is not that take examaple 1 user activated subscription 14 days trial is added.Billing anchor is next month first .if end the trial it shoing new billing anchor end trial on 10 so it will be 10 to next month 10 i dont want that i want to trial end to next month first. Is it possible with same subscription or we have to create new subscription without trial

jaunty parcel
#

No possible, you should extend the trial to the date of your desired billing_anchor.

vapid prairie
#

still this will not solve issue right

#

if my trial end today

#

so billing anchor should be according to trial end to that

#

what do you mean extend trial

jaunty parcel
#

I'd suggest you to read through the doc that I shared earlier and come back if you have a more specific question.

vapid prairie
#

according to you which one is best for me.

  1. I have 14 days trial but i have limit in trial. So if exceeded that limit. I want make user plan upgrade. With day when user trial limit exceeded. To next month first .
  2. Can we do something with previous subscription i setted billing anchor their while crating subscrption with 14 days trial.
  3. Or create new subscription without trial
barren crypt
#

Sorry, I don't quite get your scenario. When the customer exceeds the limit and have him/her to upgrade the plan, why don't you upgrade and charge to the customer immediately, but waiting till next month

vapid prairie
#

i have plan which is combination of two plan upfront and metered usages

#

so one thr first day i am taking charge when plan is activated

#

can we charge immidetly and make billing anchor always first day of month

barren crypt
#

Where is trial used in this workflow?

vapid prairie
#

plan is activated->subscription is created with 14 days trial (setted billing anchor accordingly to every month 1st )-> user exceeded limit ->end the trial make use of active subscription->here cames issue deuto it affects my billing anchor

#

trial is at the string then plan activated user have to pay proarted flat rate->then next month first user have to pay last month usages + next month flat rate

barren crypt
#

After Step 3, the subscription will be set to the billing cycle date you expected

vapid prairie
#

ohh i see if i end the trial then subscription is active then i have to add trial till next month first correct

barren crypt
#

Correct

vapid prairie
#

then if when trial end customer paid 99$ this will adjusted ?

barren crypt
#

What is the adjustment here? What do you expect it to adjust to?

vapid prairie
#

see if we end trial when limit exceed customer instantly charge 99 $ for next 30 days , but if add trial again to next month first then customer is paid $99 already for next 30 days

#

can i send you a customer details by attching subscription to it

#

first you can see how my subscription cycle is working

#

cus_PBsOPYEr6EjvXl see this customer

#

see i have 99 dollar which is fixed which i am taking at start for 30 days then i am reporting usages for metered_item_id which amount will also added

barren crypt
#

I see! Stripe doesn't adjust $99 since the Step 3 is only updated after the change of plan. One solution will be:

  1. Create subscription with trial flat plan + metered usage
  2. Upon upgrade, customer will be charged immediately
  3. After successful charge, then add trial to the subscription to reset the billing cycle anchor as described here: https://stripe.com/docs/billing/subscriptions/billing-cycle?payment-ui=elements#add-a-trial-to-change-the-billing-cycle
  4. In the next billing cycle, i.e. first of the month, apply discount of unused period on the invoice so that customer will not pay for those days aren't used in the previous cycle

Learn how to set the billing date for subscriptions.

#

Metered usage is not prorated as discussed earlier, so we will only look at the flat price plan here

vapid prairie
#

we have to add manual logic for applay discount?

barren crypt
#

Yup!

#

Stripe doesn't support proration in this scenario

vapid prairie
#

what if user click on upgrade then will cancel previous subscription and create new subscription without trial and set billing anchor to next month first

#

this will better approch to avoid manul calculation?

barren crypt
#

This will work too! I'd recommend giving a try in test mode