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.

Features

Seamless Payment Integration

Easily integrate payment functionalities into your Flutter app without redirecting users to external applications or pages.

Custom Styling

Style the payment SDK according to your app's theme with customizable labels, placeholders, and more.

Embedded Authentication

Conduct OTP authentication within your app, ensuring a smooth and secure user experience.

Event Handling

Utilize built-in events such as onBinDiscount and onReady to dynamically manage changes and validate inputs.

Getting started

To incorporate the XPay embedded payment system into your Flutter application, start by adding the following dependency to your pubspec.yaml file:

E2E Integration Sample Repo

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

Usage

To use the XPay SDK in your app, follow these steps:

Import the Package

// for production
import 'package:xpay_element_flutter/xpay_element_flutter.dart';

// for stagging
import 'package:xpay_element_flutter_stage/xpay_element_flutter.dart';