#thereallyrealgotti

1 messages · Page 1 of 1 (latest)

mystic spruceBOT
static violet
#

Hi there, so you want your customer to pay the outstanding invoices, is this the correct understanding?

tall warren
#

If a plan isn't currently active, I want the client to pay his subscription, and then receive a subscrition number, so I can store it for further ado.

#

*for future use... (Sorry, english isn't my first language, I misused "further ado"...)

static violet
mystic spruceBOT
tall warren
#

Okay, let me get this straight.
I can bill using Invoice.create. It will give me, in the response, the subscription number in "subscription", which I can in turn put in my database. If it's not paid, which it probably won't, it will give me hosted_invoice_url, so I can redirect the person to this webpage. Am I right, so far?

main sphinx
tall warren
#

Or I can just check if the subscription is active with the number it’ll give in invoice create? With retrieve subscription?

main sphinx
#

In general, we'd recommend to check the status of latest_invoice to check whether it's paid. The subscription will only change based on your subscription settings in the Dashboard

tall warren
#

I see. Food for my dreams… Time to go to sleep… thanks for your help, it’s very appreciated. I’ll open a new thread, if I need anymore help in that matter, after testing tomorrow… thanks again… ☺️