feexpay_flutter 1.0.9
feexpay_flutter: ^1.0.9 copied to clipboard
A secure plugin to accept Mobile Money and Credit Card payments.
Feexpay #
FeexPay is a secure plugin to accept Mobile Money and Credit Card payments..
Installation #
Use this command.
With Flutter #
flutter pub add feexpay_flutter
With Dart #
flutter pub add feexpay_flutter
## Import it
Now in your Dart code, you can use:
import 'package:feexpay_flutter/feexpay_flutter.dart';
Usage #
MaterialButton(
child: Text('Payer $amount'),
color: Color(0xFF112C56),
textColor: Colors.white,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0),),
onPressed: () => {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => ChoicePage(
token: 'api_key',
id: 'shop id',
amount: amount(string or int not double),
redirecturl: 'SuccessPage',
errorredirecturl: 'EndPage',
trans_key: 'random string 15 characters',
callback_info: "<information you wish to retrieve from the information returned by the webhook> ex: {'id': 'test'}"
)),
)
}
),
Contributing #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.