Configure webhooks for your application
checkout.session.completed
event is supported.
You can implment a more custom billing model by modifying the billing module.
https://api.${DOMAIN_NAME}/checkout-webhook
StripeSecretKey
StripePriceId
checkout.session.completed
https://${stage}-api.${DOMAIN_NAME}/signup-webhook
user.created
event which triggers when a new user registers.env.{stage}
file as ClerkWebhookSecret
env.test
where needed.
There are other methods to generate a JWT token for testing, but this is the most straightforward.
Learn more about Clerk JWT tokens here
Learn more about Clerk Webhooks here