Closed hideokamoto-stripe closed 1 month ago
Hey @hideokamoto-stripe
Awesome! I've left one comment. Please check it.
Thank you @yusukebe -san! I updated the file to add the section.
Hello @yusukebe -san, I updated the code snippet according to your feedback. As a result, we can make it simpler than before. I also gained a deeper understanding of Hono through this process.
Please feel free to provide your comments about this update. Thank you.
Hi @hideokamoto-stripe
Then, are both codes necessary? Perhaps it can be one code example?
@yusukebe I've removed unnecessary code snippets 👍
@hideokamoto-stripe
Thanks! I've left one more comment. Check it.
@yusukebe Oh, I forgot to remove it. I've removed it!
@hideokamoto-stripe
Thanks! Let's ship it.
I added a page introducing how to create an API using Hono to handle Stripe Webhook events.
Context
https://github.com/orgs/honojs/discussions/2518#discussioncomment-9170675
To add protection processing for the API endpoint, Stripe Webhooks require the raw request body. I created an article with sample code explaining how to obtain this for both Node.js and Cloudflare.
By adding this article, users using Stripe with Hono will find it easier to understand the integration method, and it will be easier to provide support in case of issues or discussions.