Problems with stripe payments

Working locally with Docker this does not work, however when put to a live server like Digital Ocean it works, does any one have any idea how to get this to work locally?

I have followed the tutorial for processing strip payment

However I keep getting the following error

“Cannot find module ‘stripe’\nRequire stack:\n- /opt/node_app/lib/modules/stripe.js\n- /opt/node_app/lib/core/app.js\n- /opt/node_app/lib/core/middleware.js\n- /opt/node_app/lib/setup/routes.js\n- /opt/node_app/lib/server.js\n- /opt/node_app/index.js”

Does anyone have any idea what I am missing?


Play with those buttons. If it doesn’t work, click the button to stop/destroy the Docker containers and start again, so the containers are re-built.

The problem is Stripe’s libraries are not installed on the NodeJS project, this is usually achieved by doing “npm install”. I don’t know the particular reason why Wappler didn’t install those for you once you added the Stripe stuff