#Eranga-subscription
1 messages · Page 1 of 1 (latest)
Hi @barren snow! Give me a few minutes, I'm having a look.
I managed to reproduce the issue: if I create a subscription with cancel_at_period_end: true, then I cannot get the upcoming invoice.
But you can pass the option subscription_cancel_at_period_end: false when retrieving the upcoming invoice, and then it should work.