pay_with_paymob_flutter 1.0.0
pay_with_paymob_flutter: ^1.0.0 copied to clipboard
The most comprehensive and developer-friendly Paymob payment integration for Flutter applications. Supports all Paymob payment methods, iframes, multi-environment configurations, and clean architecture.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pay_with_paymob_flutterWith Flutter:
$ flutter pub add pay_with_paymob_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pay_with_paymob_flutter: ^1.0.0Alternatively, your editor might support dart pub get or 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';