#emak_api

1 messages ¡ Page 1 of 1 (latest)

sleek pastureBOT
#

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

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

dull imp
#

Hello

#

Can you give me some more details here of exactly what is happening and your desired outcome?

#

Also if you can share a specific example where double billing occurred then I can see your flow and advise from there.

maiden smelt
#

Hey there, so we noticed that some customers got invoiced twice. And we narrowed it down to figuring out that it is those accounts that went all the way to their trial expiring and then adding their payment information. Any customer who has converted/added payment details before trial end isn't having this problem.

The desired outcome is that the trial ends and when they add payment details it charges them.

dull imp
maiden smelt
#

In my case, is it better to use pause or cancel?

dull imp
#

Depends on what you want

maiden smelt
#

I know you can't bring canceled subscriptions back

dull imp
#

Right

#

So really up to you

#

Depends a bit on your model and what you are looking for.

#

May be better to use Pause if you want to keep all your data for the customer related to one Subscription

maiden smelt
#

Hmm i'll try that, in code I would have to detect if it is paused or not so I can resume right?

#

It is a different API call from what I understand

maiden smelt
#

Awesome, I'll go try that. May I ask you another question about invoicing behaviour?

dull imp
#

So yeah mostly what you do is you collect the PaymentMethod and pay for the desired Invoice and then unpause

#

Yep you can ask any questions you have in this thread

maiden smelt
#

Thanks!

#

So I noticed that when I create an subscription, I see a invoice of $0 paid on every subscription that I create

#

Anyway to avoid that, since it is showing up in my customer's invoice list (that we pull from Stripe)

dull imp
#

No, if you are creating trials then the initial Invoice will always be a $0 Invoice for the trial period. No way to prevent that. If you don't want that in a UI that you are showing your customer then you'll need to exclude it on your end.

maiden smelt
#

Ahh okay, makes sense. I think then that is all for now. Love the support from ya'll!