#sugam1469_code
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/1278641286378684426
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- sugam1469_api, 1 hour ago, 6 messages
- sugam1469_api, 2 hours ago, 11 messages
Hi
here i need to charge credit to the particular subscription subscription
I'm not sure I understand what you want to achieve exactly ? Could you please share more details ?
here is my use case:
the monthly fee is 300
when a customer (parent) make subscription (enroll his first child) in he middle of the month say at 15th of Aug, he should pay 300 but as he only study only 15 days i have calculated the amount of 15 days and stored the remaining amount as credit.
when the same customer (parent) make subscription (enroll his second child) say at 20th of Aug, the credit balance from his 1st subscription shouldn't be used here
This can't be achieved nativelly using Stripe APIs. You should handle this by your integration as normal charges..
Because, you can't choose what invoice your Customer Credit Balance will be applied to for example:
https://docs.stripe.com/billing/customer/balance#details:~:text=You can’t choose a specific invoice to apply the credit balance to.
As the subscription is in re occuring how can i apply the credit for the payment of next month
No you can't choose where exactly the credit balance will be applied as mentioned in the guide I shared with you..