#emak_emac-subscription-unpause-payinvoice

1 messages ยท Page 1 of 1 (latest)

urban baneBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

viscid tundraBOT
#

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.

hazy garnet
#

Hey there, this is continuation on a conversation already started in #dev-help message ; I'd like to ask more questions about the option provided at the end. Thanks

runic warren
#

Hi ๐Ÿ‘‹

What about the last step described is confusing here?

hazy garnet
#

Hey there. The part that I was unsure about is how this might be more benificial then making an API call to pay the invoice directly? I generate a invoice already via the resume subscription flow which I don't think supports passing in auto_advance

runic warren
#

My colleague was suggesting you update the generated Invoice and set auto_advance=True

#

But you could also use the API to pay the invoice directly

hazy garnet
#

I would still need to make an another API call to perform the auto_advance update? So I was why it may be beneficial over paying directly via the API call directly.

runic warren
#

They are two different approaches that could accomplish your goal.

Do you have a valid payment method at the time you are unpausing the subscription?

hazy garnet
#

Yep

#

We are trying to unpause and activate their subscription at the sametime to get the customer active when they put in their payment information and collect.

runic warren
#

What is the collection method?

hazy garnet
#

I think auto, but how can I check that?

runic warren
hazy garnet
#

One moment I'll check

runic warren
#

Are you setting the new payment method as the default for the Subscription?

hazy garnet
#

charge_automatically is on the subscription

runic warren
#

Okay and are you wanting to collect payment on an existing Invoice that is in draft?

hazy garnet
#

When I resume the subscription, the invoice is in the "open" state so I was looking for a way to collect that payment to resume the subscription.

runic warren
#

In that case it might make the most sense to just use the Pay API

hazy garnet
#

Gotcha, so I hear that my flow is sufficient for getting the outcome we want.

#

Just wanted to make sure I'am not doing anything too strange and there wasn't a more clever way to use the API

#

Appreciate your help ๐Ÿ™‚

runic warren
#

That's understandable. We offer a number of ways to do things with Billing because so many people have slightly different use-cases that we need to support. But it can make finding the right approach for you difficult

hazy garnet
#

Yeh but glad to have this medium to ask questions to you folks. Appreciate it

runic warren
#

Sure thing! It's why we're here ๐Ÿ™‚