#sugam1469_code

1 messages · Page 1 of 1 (latest)

woeful questBOT
#

👋 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/1270267448175624202

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

fiery beaconBOT
#

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.

hollow arrow
#

So what's your question?

meager lily
#

the customer credit balance should be ignored for next advance invoice

hollow arrow
#

So you don't want Stripe to automatically apply the credit balance for the next invoice?

meager lily
#

yes

hollow arrow
meager lily
#

here is my use case:

  1. When a parent(customer) enroll his first child at the middle of the month, 300 is charged for monthly fee and 25 is charged for admission fee.
    As he has made this subscription in the middle of the month say 15th of the month 300 whole month is charged and 150 is stored as his credit balance.
    The monthly fee is in re occuring basic so the credit will be reducted for his next invoice.
  2. And when the same parent(customer) enroll his second child say at 16th of the same month, while paying invoice as the credit balance is grater then the advance amount im getting Invoice already paid response.
    So here i need to treat those 2 child as different subscription and each credit balance should be applied only to their resp. invoices.
hollow arrow
#

As mentioned in the docs that I shared earlier. I'm afraid that you can't choose to not apply the credit balance to an invoice.

#

A workaround is to create another customer object for the 2nd child.

meager lily
#

how can i do that

hollow arrow