#aby_docs
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1227567150479314985
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! I hope you're doing well & nice to meet you
Yes, basically we would like to link somehow or identify for wich app we're selling is each subscription with the product attached
I don't know if that makes sense to you
on the invoce itself, you could use custom fields to display additional information: https://docs.stripe.com/api/invoices/update#update_invoice-custom_fields
Ok, so there we could add our custom information, in this case our App_ID for each subscription, right?
Your help here is really much appreciated
`correct!
That's great! Thank you!
May I ask you another question related to our use case or should I open a new thread
sure, you can ask here
Great, thank you
Basically our customers create apps with us, which are initially free. When they want to use them in production, they need a subscription for the appropriate number of users. Depending on the product, the number of users is either fixed or in bundles, e.g. a price for 1000 CCU (= concurrent users) which you then have as an subscription item with quantity = 2 to allow 2000 users.
The customers then create a subscription for product X for their app Y in a certain quantity, As I mentioned when I opened the thread. A subscription is never for more than one app, so if they have several apps they create separate subscriptions for each app.
We would prefer that the invoice shows
- which app the subscription is for (Which you already explained how to achieve it)
- how many CCU were booked
Our solution idea for point 2 was:
- Set the unit_amount of the price to e.g. 1000, so that the item is then simply set to quantity=2000 instead of quantity=2, the price is still correct and the 2000 appears in the invoice item (this works, but it is always referred to as Qty. 2000 it would be better to have "CCU" as the unit)
Alternatively, with what you already shared, the idea would be to add a custom field of the invoice item to enter the app ID and/or something like "2000 CCU".
I wanted to provide you as much context as possible so you can understand our use case
yes both options could work. what's your question exactly?
What would be the best approach for point 2?
The one we proposed or the alternative solution you shared?
using custom fields looks simpler to me, but that's completely up to you.