#Lexmark0381

1 messages · Page 1 of 1 (latest)

raven chasmBOT
little oxide
#

hi! could you share the customer ID cus_xxx in question?

quaint slate
#

Sure, give me a sec...

little oxide
#

also not sure why you'd call invoice.upcoming

#

why not call invoice.retrieve(in_xxx) to get the specific invoice?

#

the upcoming invoice endpoint doesn't return a real, specific invoice, it returns a preview of what the next invoice might look like

quaint slate
quaint slate
#

(btw, the customer id i sent you is in the test mode)

little oxide
quaint slate
little oxide
quaint slate
#

So, how should i access a Subscription from a customer id?

little oxide
quaint slate
#

I guess in order to avoid data drifting apart I would prefer to rely on Stripe data

#

Found the latest_invoice 😍

#

Do you have any suggestions on how to create an active card, one which should fail paying and one that should succed?

little oxide
quaint slate
#

It's working!

#

Thank you very much

little oxide
#

great!

quaint slate
#

Just for be clear, the Subscription becomes active as soon as invoices for it have been paid, right?

little oxide
#

yep

quaint slate
#

Awesome

#

Thank you, thank you, thank you!