Closed graham-fleming closed 6 months ago
yes, will fix it for sure, some redirecting is causing this
Is there a fix?
With Vercel the default domain setup included the "www" redirecting everything to it
Should the domain for NEXT_PUBLIC_APP_URL and stripe webhook url include the "www"?
Where should I look to check for errors?
HTTP status code 308 (Permanent Redirect)
Adding a trailing slash to the Stripe webhook URL in the stripe dashboard fixed the problem
Genius, Let me check!
thanks, it is solved now.
Great! good to hear. Possibly related to the trailingSlash: true in next.config.js
Adding a trailing slash to the Stripe webhook URL in the stripe dashboard fixed the problem
May I know how did you fix this? I am running webhook locally.
When a user upgrades to a pro account, the Stripe session appears to be successful and the subscription is created.
But the information in the database does not update, only the "Updated at" and the other fields are blank.
Is this a known problem?