harbor_pay 1.0.0 copy "harbor_pay: ^1.0.0" to clipboard
harbor_pay: ^1.0.0 copied to clipboard

A Flutter package to accept mobile / card payments with HarborPay.

harbor_pay #

A Flutter package to accept mobile money payments.

Getting Started #

First, add the harbor_pay package to your pubspec dependencies.

Import HarborPay #

import 'package:harbor_pay/harbor_pay.dart';

Create a HarborPay object #

HPay hp = new HPay(
  clientKey: 'xxx'
);

Process Payment #

  var paymentResponse = await hp.processPayment(context: context, amount: 14.00, customerNumber: '2330000000');
  print(paymentResponse.toString());

// Optional but useful parameter: customerName
// Optional but useful parameter: Map<String, dynamic> extra
0
likes
110
pub points
7%
popularity

Publisher

verified publisherexcelliumgh.com

A Flutter package to accept mobile / card payments with HarborPay.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, http

More

Packages that depend on harbor_pay