Payment Integration With Node, Express, Request and Paystack API
- Create a paystack account
- Copy and update the secret key in
config/paystack.js
- Install dependencies. Just run
npm install
from the root of the directory structure. - Run the app
node app
NB: Your
.env
file should look something like this:
DB_STRING=...
PAYSTACK_SECRET=...
PAYSTACK_BASE_URL=https://api.paystack.co
#BackEnd