I use BetterAuth with NextJS + Prisma adapter and so far I absolutely love working with it.
But today I discovered that if I as user cancel the subscription through the Stripe billing portal it fails to switch cancelAtPeriodEnd to true.
However when I cancel the subscription from Stripe admin dashboard it works perfectly fine.
Am I missing something?