phonepe_pg_web 0.0.3 phonepe_pg_web: ^0.0.3 copied to clipboard
This package provides a Flutter wrapper for the PhonePe PG SDK, allowing you to easily accept payments from your Flutter Web app.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add phonepe_pg_web
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
phonepe_pg_web: ^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:phonepe_pg_web/model/payment_response.dart';
import 'package:phonepe_pg_web/phonepe_pg.dart';