vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
5.79k stars 1.19k forks source link

Fixes #248: Missing secret causes compile failure with '"Promise<Response \| undefined>" is not a valid POST return type' #272

Closed chriscarrollsmith closed 7 months ago

chriscarrollsmith commented 7 months ago

Throws an error in webhook route if secret is missing so that the error can be handled.

Fixes #248, closes #224, closes #244

vercel[bot] commented 7 months ago

@chriscarrollsmith is attempting to deploy a commit to the Vercel Solutions Team on Vercel.

A member of the Team first needs to authorize it.

chriscarrollsmith commented 7 months ago

Duplicate here: https://github.com/vercel/nextjs-subscription-payments/pull/249