Flutter

Easily implement Ivorypay for crypto payments in your Flutter applications. This library supports both Android and iOS.

To use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ivorypay_flutter

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  ivorypay_flutter: ^0.0.6

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ivorypay_flutter/ivorypay_flutter.dart';

Public Key

In order to use this library you are required to use your ivorypay public key and not the secret key. See how to get your API Keys herearrow-up-right

Usage

Below is an example showcasing how you can use the library to implement payment in your Flutter app.

How to use it for iOS and Android

How to use it for Web

Last updated