Single package to manage payments from various proivders like RazorPay, Paytm
PaymentBridge paymentBridge = PaymentBridge(
razorpay: {
'key': 'rzp_live_########',
'testKey': 'rzp_test_########',
},
);
paymentBridge.create(
amount: 100,
name: 'Alice Bob',
description: 'Registration Charges',
mobile: '+919876543210',
email: '[email protected]',
).then((payment) async {
// print(payment.json);
// {
// 'id': id,
// 'time': time,
// 'amount': amount,
// 'status': status,
// 'orderId': orderId,
// 'signature': signature,
// }
});
- RazorPay : Android, iOS, MacOS, Web, Windows
- Paytm : Under development
- Stripe : Under development