DEV Community

Discussion on: Need help integrating stripe in react; getting 404

Collapse
 
deadlybyte profile image
Carl Saunders

Usually this issue is due to the order of the middleware being configured. The app.use(bodyParser.text()) has to be configured before the routes are declared.

I've created a glitch project to demonstrate how the code could be implemented.

Good luck 🀞 with getting the issue sorted.