Build a Simple Payment App in 10 minutes using Flutter and Flutterwave

Build a Simple Payment App in 10 minutes using Flutter and Flutterwave

flutter with flutterwave.jpg It’s always a privilege to help you upgrade your skillset through my write-ups and tutelage.

In this article, you are going to learn how to build a simple payment app using Flutter and Flutterwave.

By the end of this article, you will learn the following:

  • How to set up a Flutterwave account.
  • How to integrate your Flutterwave API into your Flutter app.

So, let's jump in.

Flutterwave is a start-up dedicated to improving digital payments in Africa. It has a product called Rave.

Rave is a service offered by Flutterwave which that enables merchants accept global payments from card, bank accounts, and Unstructured Supplementary Service Data (USSD) code.

Step 1: To create a new rave account, go to https://ravepay.co/

At the top right corner of the site, click on the “SIGN UP” button (this is if you don’t have an account)

But if you have a Flutterwave account, then click “Log in” button.

Enter your E-mail Address and Password to login to your account.

Your Flutterwave dashboard will look like this image below.

Click on “Setting”, select “API” in other to view your API keys.

Note: Your Live API Keys should be kept private.

Congrats you have completed the first step, the second step will be to create our app using flutter.

Let’s continue.

Step 2: You can create your payment app using Visual Studio, IntelliJ or Android studio.

If you have IntelliJ installed on your computer, click on File>>New>>Project, Select Flutter and click on “Next

Enter the project name and click on “Finish

Open “pubspec.yaml”, install flutter_rave package.

**dependencies**:
  **flutter_rave: ^0.0.5**</span>

Add this code to your main.dart

Run your app on your smartphone or emulator.

Congratulations!! you have built a payment app using Flutter and Flutterwave.

P.S: Here is the source code for the project you just worked on.

If you found this article helpful and educating, please hit the like button and also share with your friends.

To get regular updates and happenings from the world of Flutter, and mobile development, follow me onTwitter, Facebook, Linkedin, and Github.

My name is Promise Amadi. I am a writer and Flutter Developer. I work with startups across the globe to build mobile solutions using Flutter.