cofee_payment_flutter 1.0.3 copy "cofee_payment_flutter: ^1.0.3" to clipboard
cofee_payment_flutter: ^1.0.3 copied to clipboard

This SDK provides a simple way to integrate CoFee Payment into your Flutter applications. It handles the payment flow, including opening the payment page and monitoring for completion. It then calls a [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add cofee_payment_flutter

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

dependencies:
  cofee_payment_flutter: ^1.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:cofee_payment_flutter/cofee_payment.dart';
import 'package:cofee_payment_flutter/cofee_payment_method_channel.dart';
import 'package:cofee_payment_flutter/cofee_payment_platform_interface.dart';
import 'package:cofee_payment_flutter/entities/payment_details_entity.dart';
import 'package:cofee_payment_flutter/exceptions/payment_exceptions.dart';
import 'package:cofee_payment_flutter/services/env.dart';
import 'package:cofee_payment_flutter/services/payment_details_provider.dart';
import 'package:cofee_payment_flutter/services/payment_service.dart';
import 'package:cofee_payment_flutter/views/payment_browser.dart';
0
likes
130
points
32
downloads

Publisher

verified publisherkeyvalue.systems

Weekly Downloads

This SDK provides a simple way to integrate CoFee Payment into your Flutter applications. It handles the payment flow, including opening the payment page and monitoring for completion. It then calls a callback, and *you* are responsible for checking the payment status after the callback.

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, http, plugin_platform_interface

More

Packages that depend on cofee_payment_flutter

Packages that implement cofee_payment_flutter