pay_with_paymob_flutter 1.0.1
pay_with_paymob_flutter: ^1.0.1 copied to clipboard
A comprehensive Flutter plugin for integrating Paymob payment gateway. Supports Unified Checkout (Intention API), iframe payments, payment links, digital wallets, and installment services across Andro [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pay_with_paymob_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
pay_with_paymob_flutter: ^1.0.1Alternatively, 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:pay_with_paymob_flutter/config/app_config.dart';
import 'package:pay_with_paymob_flutter/config/config_manager.dart';
import 'package:pay_with_paymob_flutter/core/constants/api_constants.dart';
import 'package:pay_with_paymob_flutter/core/exceptions/paymob_exceptions.dart';
import 'package:pay_with_paymob_flutter/core/interfaces/api_service_interface.dart';
import 'package:pay_with_paymob_flutter/core/interfaces/payment_service_interface.dart';
import 'package:pay_with_paymob_flutter/core/services/api_service.dart';
import 'package:pay_with_paymob_flutter/models/billing_data.dart';
import 'package:pay_with_paymob_flutter/models/payment_intention_request.dart';
import 'package:pay_with_paymob_flutter/models/payment_intention_response.dart';
import 'package:pay_with_paymob_flutter/models/payment_link_request.dart';
import 'package:pay_with_paymob_flutter/models/payment_link_response.dart';
import 'package:pay_with_paymob_flutter/models/payment_method_config.dart';
import 'package:pay_with_paymob_flutter/models/paymob_iframe_config.dart';
import 'package:pay_with_paymob_flutter/models/paymob_payment_method.dart';
import 'package:pay_with_paymob_flutter/models/paymob_response.dart';
import 'package:pay_with_paymob_flutter/models/unified_checkout_config.dart';
import 'package:pay_with_paymob_flutter/paymob_flutter.dart';
import 'package:pay_with_paymob_flutter/services/payment_api_service.dart';
import 'package:pay_with_paymob_flutter/ui/widgets/paymob_inapp_webview.dart';