multi_payment_gateway 0.0.3 copy "multi_payment_gateway: ^0.0.3" to clipboard
multi_payment_gateway: ^0.0.3 copied to clipboard

PlatformAndroid

A Flutter package to simplify integrating multiple payment gateways like Paymob, PayPal, and Stripe.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add multi_payment_gateway

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

dependencies:
  multi_payment_gateway: ^0.0.3

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:multi_payment_gateway/billing.dart';
import 'package:multi_payment_gateway/cart_item.dart';
import 'package:multi_payment_gateway/order_item.dart';
import 'package:multi_payment_gateway/payment_model.dart';
import 'package:multi_payment_gateway/services/customer_service.dart';
import 'package:multi_payment_gateway/services/payment_service.dart';
import 'package:multi_payment_gateway/services/paymob_service.dart';
import 'package:multi_payment_gateway/services/paypal_service.dart';
import 'package:multi_payment_gateway/services/stripe_service.dart';
import 'package:multi_payment_gateway/setup_payment.dart';
import 'package:multi_payment_gateway/stripe_payment_kit.dart';
import 'package:multi_payment_gateway/stripe_setup.dart';
import 'package:multi_payment_gateway/transaction.dart';
18
likes
130
points
72
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to simplify integrating multiple payment gateways like Paymob, PayPal, and Stripe.

Documentation

API reference

License

MIT (license)

Dependencies

dartz, dio, flutter, flutter_paypal_payment, flutter_stripe, path, plugin_platform_interface, webview_flutter

More

Packages that depend on multi_payment_gateway