Last updated:
0 purchases
payment bridge
Single package to manage payments from various proivders like RazorPay, Paytm
Example #
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,
// }
});
copied to clipboard
Supported Providers #
RazorPay : Android, iOS, MacOS, Web, Windows
Paytm : Under development
Stripe : Under development
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.