payment_bridge 0.0.3 copy "payment_bridge: ^0.0.3" to clipboard
payment_bridge: ^0.0.3 copied to clipboard

All-in-one payment gateway implementation of Razorpay, Paytm etc.

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,
    // }
});

Supported Providers #

  • RazorPay : Android, iOS, MacOS, Web, Windows
  • Paytm : Under development
  • Stripe : Under development
2
likes
120
pub points
43%
popularity

Publisher

verified publisherensorta.com

All-in-one payment gateway implementation of Razorpay, Paytm etc.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, js, nb_utils, razorpay_flutter, universal_html

More

Packages that depend on payment_bridge