#Sophia Wong

1 messages · Page 1 of 1 (latest)

final krakenBOT
narrow bolt
#

Well actually I have tried this API. A new invoice is created but its amount is $0 (the subscription has 1 trial day). So I guess it's not running like a renew action. I cannot get 'future' invoice. right?

brittle salmon
#

👋 happy to help

narrow bolt
#

🌻

brittle salmon
#

I'm not sure I understand the use-case

#

would you mind elaborating on what you're trying to achieve without going into Stripe implementation details?

narrow bolt
#

ok. After a user makes a monthly subscription, I place a 'renew' button on the website, for whom wants to make further payments like next month.

brittle salmon
#

that's not directly possible with Subscriptions and Invoices

#

I'll explain myself

#

we only generate Invoices for either a new billing cycle or a change to the subscription when proration is applied

#

this doesn't mean that your customer paid the upcoming invoice immediately, it means that they added some credit to their balance which will be used when the time comes to pay the new generated invoice

narrow bolt
#

OK. Good to know. Thank you! In fact I come up with this thought when I'm handling abnormal subscriptions like past-due. So for simple design, I just show the hosted_invoice_url of lastest_invoice to user. That sounds enough for now. Really appreciate for your help!

brittle salmon
#

let me know if you need any more help