XPay Element for Flutter is an embedded payment system that allows you to collect payments directly from users within your Flutter applications. This package is highly customizable, enabling you to tailor the appearance and functionalities of the payment form to align seamlessly with your app's style and theme.
Easily integrate payment functionalities into your Flutter app without redirecting users to external applications or pages.
Style the payment SDK according to your app's theme with customizable labels, placeholders, and more.
Conduct OTP authentication within your app, ensuring a smooth and secure user experience.
Utilize built-in events such as onBinDiscount and onReady to dynamically manage changes and validate inputs.
To incorporate the XPay embedded payment system into your Flutter application, start by adding the following dependency to your pubspec.yaml file:
https://github.com/XStakCommerce/XPay-Element-Flutter-Demo
// for production
dependencies:
xpay_element_flutter: ^1.0.7
// for stagging
dependencies:
xpay_element_flutter_stage: ^0.0.9
To use the XPay SDK in your app, follow these steps:
// for production
import 'package:xpay_element_flutter/xpay_element_flutter.dart';
// for stagging
import 'package:xpay_element_flutter_stage/xpay_element_flutter.dart';