Naim Rahman
Naim Rahman
I am having the same issue. I am trying in my local development and when I do multiple subscription, the old one does not get cancelled status. I think for...
To fix my issue I have canceled previous subscription when successful new subscription session created in app/api/webhooks/route file under checkout.session.completed. ``` case 'checkout.session.completed': const checkoutSession = event.data.object; if (checkoutSession.mode ===...
@k-thornton That's also makes perfect sense and simplify the workflow. My thinking behind cancelling and adding new was, the customer would have had all benefits of old subscription and new...
@SonNguyenne, Maybe you have to set the schdule property on the task and create a cron job to schedule job (enque job) daily and then run it. For my application...