Skip to main content
The Angular SDK helps you create seamless payment experiences in your Angular mobile or web app. By connecting to our modal, you can start collecting payment in no time. Available features include:
  • Collections: Card, Account, Mobile Money, Bank Transfers, USSD, Barter, NQR.
  • Recurring payments: Tokenization and Subscriptions.
  • Split payments

Requirements

  1. Flutterwave version 3 API keys
  2. Node version >= 14.15.0 and npm >= 6.14.8
  3. Angular version >= 18.

Installation

Install the SDK

Initialization

Import FlutterwaveModule to the app root module
If you experience compilation errors in your app after importing the Flutterwave module, component or service. Kindly include the following line in tsconfig.app.json under compilerOptions :
Then restart server and try again

Usage

Add Flutterwave to your project as a component or directly in your code:
  1. As a Component
  2. Directly in your code
  3. Recurring Payments

Using Flutterwave as a Component

Method 1

Pass in payment parameters individually as component attributes.

Method 2

Pass in the payment parameters as an object to the component data attribute.

Using Flutterwave directly in your code

Method 1

Using the Flutterwave service.

Method 2 (Promise)

Async Payment Response.

Recurring Payments

Pass the payment plan ID into your payload to make recurring payments.

Parameters

Read more about our parameters and how they can be used here.

Methods

Methods provided by FlutterwaveService and descriptions:

Debugging Errors

We understand that you may run into some errors while integrating our library. You can read more about our error messages here. For authorization and validation error responses, double-check your API keys and request. If you get a server error, kindly engage the team for support.
If you experience compilation errors in your app after importing the Flutterwave module, component or service. Kindly include the following line in tsconfig.app.json under compilerOptions :
Then restart server and try again

Support

For additional assistance using this library, please create an issue on the Github repo or contact the developer experience (DX) team via email or on slack. You can also follow us @FlutterwaveEng and let us know what you think 😊.