Integrating Flutterwave with NodeJS
I am a software engineer specialized with building server side applications using nodeJs and Python.
Search for a command to run...
I am a software engineer specialized with building server side applications using nodeJs and Python.
Hello Abdulmateen,
Can you help integrate flutterwave into a website built with Node.js and angular?
I need this done very urgently and wondering if this is something you do or if you have someone you can recommend.
Hope to hear back soon.
Thanks
I initially wrote a detailed review of my year, splitting the year into quarters (Q1 to Q4) then I figured my year was too complex and long to split into 4 quarters. I am going to split it into stages instead. Discovery Struggle Tenacity Burnout ...

Hello, I am here again. Wanna know how my year went ?? Lemme tell you. I was happy, trust me when I say that. I was really happy this year, I got a lot of things I prayed for and trust me I feel blessed. What if I told you I also lost a couple of tho...

omo, I suffer small

It's over a year since I was selected to be the DSC lead of my campus and I would say it has been an amazing experience. It was full of so many ups and downs. One journey I would love to share with everyone. Being a DSC Lead was something i've alway...

Everyone wants to work for the top companies we have in this world. Many of us had this dream where we were building the next big thing while sitting in one of the offices of a large tech company. I also had those dreams. I tried setting my path tow...

We all love to make money ๐, even our applications love to make some dough too ๐ธ. Payment Integration has become a usual thing among web applications these days and it has made life a lot easier. As a web developer, you would be wondering how these payments are processed over the internet, are there automated calls to some bank officers when we try to make these payments online or what?? Don't worry, there is no mystery behind it, maybe a little mystery but not some robot calling a bank officer in UBA.
These payments are made possible using payment gateways, popular ones are Stripe, Paypal and so much more, you can speak to Mr Google and he will tell you. I will be writing mainly about the Flutterwave Payment gateway which is one of the most used payment gateways in Nigeria and some parts of Africa too. They recently released their Version 3 (V3) which seems to make integrating payment into web apps more convenient compared to their v2.
They have various features like Charging a credit card, charging a bank account, receiving money by generating a bank account number a user will transfer to, transferring to a bank account and so much more. All you need to do is read their documentation and implement the API. Or maybe not, why??
I already wrote a module in nodeJs which makes it easy to implement the Flutterwave API into your web-app built in NodeJS. The link to the repo is here You can look into the sample.js for basic examples. The module was written as a class so you will need to initialize it before you can use. Flutterwave provides a Secret Key, public key and encryption key when you register on their website.

This is what is used to set up the module so it can make the requests using your access
This is the method that is used to debit a debit card, after this process the user will be sent an OTP which you will collect and pass through the validation method to complete the charge process

This is used to Debit a bank account, this does not require you to collect the card details but instead you collect the bank details; account number and bank code. The bank code is gotten from using Flutterwave api to fetch the list of banks and their codes, the link to the api reference for fetching the banks is here After this Process, the user will be sent an OTP which they you will collect and pass through the method for validating charge.

A charge process is not complete till it is validated, this is the point where an otp is collected from the user to finalize and charge a user. You will also need to pass the flutterwave reference which will be returned during the charge process (either bank or card)

This is the method used for transferring to the bank account of users, it will withdraw the money from your flutterwave wallet and send to the account of the user whose account number you pass through the function

This is a feature apps are beginning to implement these days, where a unique bank account is generated and users are told to transfer to that bank account to make payment. You need to call this function so it can generate the unique bank account users can make a transfer to

This is a feature that is widely used among many fintech applications where they collect the bank details and return the name of the account to avoid the user from inputing the wrong account details. This method comes very handy in doing that

I will advice reading the Flutterwave documentation before implementing this module I have written, so you can understand the whole process and build the next Amazon. Make that money, charge that card and pay that client ๐.
Tay.