intasend_flutter 0.0.2 copy "intasend_flutter: ^0.0.2" to clipboard
intasend_flutter: ^0.0.2 copied to clipboard

Flutter plugin for IntaSend payments integration. Collect M-Pesa, and card payments.

intasend flutter #

Plugin for IntaSend's checkout integration.

How to setup checkout screen #

import 'package:intasend_flutter/models/checkout.dart';
import 'package:intasend_flutter/intasend_flutter.dart';

// How to initiate the checkout widget
Checkout checkout = Checkout(
    publicKey: "<PUBLIC-KEY>",
    amount: 10.01,
    email: "joe@doe.com",
    currency: "USD",
    firstName: "Joe",
    lastName: "Doe");

// Add test to true in sandbox environment. Use false to go live
IntasendFlutter.initCheckout(
    test: true, checkout: checkout, context: context);

Code example #

Check example code here.

2
likes
110
pub points
35%
popularity

Publisher

verified publisherintasend.com

Flutter plugin for IntaSend payments integration. Collect M-Pesa, and card payments.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

AGPL-3.0 (license)

Dependencies

flutter, flutter_webview_plugin, http, plugin_platform_interface

More

Packages that depend on intasend_flutter