XPay Payment Kit for Swift is an embedded payment system that allows you to collect payments directly from users within your iOS Swift 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.
<aside> 💡 Please be advised that this SDK is compatible only with iOS 15 or later versions. Ensure that your development and testing environments meet this requirement for optimal performance.
</aside>
Easily integrate payment functionalities into your IOS app without redirecting users to external applications or pages.
Perform OTP authentication within your app, ensuring a smooth and secure user experience.
Style the payment form according to your app's theme with customizable labels, placeholders, and more.
Utilize built-in events such as onBinDiscount and onReady to manage changes and validate inputs dynamically.
To incorporate the XPay embedded payment system into your IOS application, start by adding the following package dependency to your app:
// For production,, use latest released version
[<https://github.com/XStakCommerce/XPay-Swift-SDK>](<https://github.com/XStakCommerce/XPay-Swift-SDK>)
// For staging, please change from version to branch type using the branch name **stage.**
https://github.com/XStakCommerce/XPay-Element-Swift-Demo
To use the XPay SDK in your app, follow these steps: