#sargis-avetisyan_api

1 messages ยท Page 1 of 1 (latest)

reef capeBOT
eager lanternBOT
#

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.

reef capeBOT
#

๐Ÿ‘‹ 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.

rigid tendon
#

๐Ÿ‘‹ 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?

flint kraken
#

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.

rigid tendon
#

why don't you add the trial period to the next phase?

#

this would avoid all of the problems

flint kraken
#

I need to change the subcription period

#

for that I have added trial

rigid tendon
#

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

flint kraken
#

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

rigid tendon
#

but creating a subscription schedule should work on the active subscription
you can create a subscription schedule from an existing subscription

flint kraken
#

Ok, but there is no way to pay the invoice only using the card?

rigid tendon
rigid tendon
#

is this an existing subscription that hasn't been paid?

flint kraken
#

No, I am creating a new subscription with payment_behavior = 'default_incomplete' and want to pay the invoice manually

rigid tendon
#

then you just call the /pay on the invoice

flint kraken
#

I have used the pay invoice API and send the payment_method

rigid tendon
#

yes

flint kraken
#

but it still use the credit from customer balance not from credit card

rigid tendon
#

because your customer had credit balance before creating the new subscription?

flint kraken
#

yes, my issue is it, I do not need to use the balance I want to pay only using the card

rigid tendon
#

that's kind of illegal, since you owe your customer money in their credit balance

#

you can't delay using that

flint kraken
#

I will use the credit balance but for another invoice

#

so I am using the credit amount anyway but I want to manage it

rigid tendon
flint kraken
#

ok, thanks

reef capeBOT