#Sophia Wong
1 messages · Page 1 of 1 (latest)
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?
👋 happy to help
🌻
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?
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.
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
nonetheless if you want your customer to pay upfront, this is possible with Customer Credit Balance. https://stripe.com/docs/invoicing/customer/balance
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
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!
let me know if you need any more help