We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2fe77ef + 970bfd9 commit af6ef24Copy full SHA for af6ef24
1 file changed
libs/payments/customer/src/lib/invoice.manager.ts
@@ -188,6 +188,9 @@ export class InvoiceManager {
188
const upcomingInvoice = await this.stripeClient.invoicesRetrieveUpcoming({
189
customer: customer.id,
190
subscription: subscription.id,
191
+ subscription_details: {
192
+ cancel_at_period_end: false,
193
+ },
194
});
195
196
return stripeInvoiceToInvoicePreviewDTO(upcomingInvoice);
0 commit comments