We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b48aa9 commit fd9d1e8Copy full SHA for fd9d1e8
components/server/ee/src/user/stripe-service.ts
@@ -117,7 +117,7 @@ export class StripeService {
117
118
async cancelSubscription(subscriptionId: string): Promise<void> {
119
await reportStripeOutcome("subscriptions_cancel", () => {
120
- return this.getStripe().subscriptions.del(subscriptionId);
+ return this.getStripe().subscriptions.del(subscriptionId, { invoice_now: true });
121
});
122
}
123
0 commit comments