#kemal

1 messages · Page 1 of 1 (latest)

split wharfBOT
late sleet
#

Hi 👋

Proration behavior is not set permanently on a Subscription but must be passed in for each modification to the subscription. Can you share the invoice ID where the unexpected proration occurred?

runic ice
#

in_1M21mjLfrGdd2APcO1wWLHf8

#

so it creates payment with; £50.97 , but i was expecting to create £51.25

#

it is production data BTW

late sleet
#

You set the billing cycle anchor and cancels at to be less than 1 year, which is what the price specifies.

#

However, we also state that cancel_at will not create prorations if you specify not to. 🤔

runic ice
#

Here is case we can to achieve: user start membership on 07/11/2022 and first payment date is: 09/11//2022 and cancel at : 07/11/2023

#

so basically I want to charge whole amount from start date to cancellation date

#

which is £51.25

marsh oak
#

👋

#

Snufkin had to step away

#

Taking a look

#

We specifically call this out that it will always cause proration

runic ice
#

in this is api thinking membership started at 09/11//2022 and ends at 07/11/2023 ?

marsh oak
#

Yes that's correct

runic ice
#

but i want it to start on 07/11/2022

#

when subscription created

marsh oak
#

Hmm you set the billing_cycle_anchor to 9/11 though

#

Why are you using billing_cycle_anchor at all here?

runic ice
#

so basically , I want to start subscription on 07/11/2022 , take the payment 09/11/2022 and cancel at 07/11/2023
and want to take whole amount

marsh oak
#

If you want the Sub to start when you create it

#

Oh you don't want to take payment until 9/11

runic ice
#

no because customer is not available for 2 days

marsh oak
#

In that case you want to use a Subscription Schedule with a future start_date

runic ice
#

but we want to start subsc.

marsh oak
#

You can't really start the Sub and not take payment. Unless you want to give them a trial period

runic ice
#

Can I add trial days to charging cost ?

#

so like , trial cost: £0.28 + proration: £50.97 = 51.25

#

possible ?

marsh oak
#

You could do this if you want... but it is pretty fickle as it relies on correct calculation of proration