#sargis-avetisyan_api
1 messages ยท Page 1 of 1 (latest)
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.
- sargis-avetisyan_api, 1 hour ago, 14 messages
- sargis-avetisyan_api, 4 days ago, 30 messages
๐ 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/1270307754715648043
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
unfortunately there's no easy way of doing it
credit balance are meant to be used for the upcoming invoice
what's exactly you're use-case?
why don't you want the credit balance to be used?
My case is:
When I create a subscription with a trial period, a new invoice is generated, and the unused time amount is added to the customer balance as credit. I want to use that credit only for invoices related to that specific subscription and not for different subscriptions.
I want to pay all upcoming invoices with a credit card until the trial period ends, and then pay future invoices with the credit balance.
why don't you add the trial period to the next phase?
this would avoid all of the problems
you don't have to do it like this
what you can do is create a subscription schedule and specify the end_time and use proration_behavior: 'none' and on the next phase you can add a trial period
to cover for the unused time
but creating a subscription schedule should work on the active subscription, also I need to make charge but keep it unuse
till the my wanted date when the trial date will finish and starts new period
but creating a subscription schedule should work on the active subscription
you can create a subscription schedule from an existing subscription
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#existing-subscription
Ok, but there is no way to pay the invoice only using the card?
and then you will use https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#resetting-anchor to change the billing_cycle_anchor
I'm not sure I understand
is this an existing subscription that hasn't been paid?
No, I am creating a new subscription with payment_behavior = 'default_incomplete' and want to pay the invoice manually
then you just call the /pay on the invoice
I have used the pay invoice API and send the payment_method
yes
but it still use the credit from customer balance not from credit card
because your customer had credit balance before creating the new subscription?
yes, my issue is it, I do not need to use the balance I want to pay only using the card
that's kind of illegal, since you owe your customer money in their credit balance
you can't delay using that
I will use the credit balance but for another invoice
so I am using the credit amount anyway but I want to manage it
you can't unfortunately
ok, thanks