#alexsch_subs-proration
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1261369158180798578
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
hi
- we have a subscription
- it contains 1 product with quantity 5
- I want to change the quantity to 4, get proration, and create a new subscription based on prorated amount
i can't understand, where to place 'proration_behavior' => 'create_prorations',
in subscriptionItems update?
or in subscription update?
You would add it in the Subscription update
Hi ๐
I'm stepping in as my colleague needs to go soon
No that is not where you would necessarily expect the proration to show up
Downgrading your Subscription (using the Update API) will automatically create the prorations
can i see the prorated amount somewhere?
What have you done so far and what do you want to get?
I need to create a new subscription after prorating the previous one
I would like to use a prorated amount for this
does this look right?
Sorry that doesn't make any sense.
- Prorations aren't something that happens to a Subscription. They occur as the result of changes to Subscriptions but they show up on Invoices
- Why are you creating a second Subscription? Did you cancel the first one?
does this look right?
I have no idea because I don't understand what you are doing
well, is a very long story and business requirements
we are selling a subscription with a quantity of 10, for example
after that, in couple of months, we need to activate the subscription, because is when we receive the genetic data for this customer
so our appoach is
create a new subscription with qty of 10
user will pay for this subscription
in 2 months (+-), we receive the activation for the subscription (one of them)
so, i;m getting the initial, paid subscription, doing a minus 1 for each activation and getting the prorated amount
after that, with prorated amount, i'm creating a new subscription which starts on date of the activation
SOrry that doesn't make any sense to me. I still don't understand why you would need to create a new subscription in that case.
Have you been testing this via the API?