FlizpaySDK

0.2.2

FLIZpay SDK for iOS
Flizpay/flizpay-ios

What's New

0.2.2

2025-05-13T18:24:29Z

What's Changed

Full Changelog: 0.2.1...0.2.2

FLIZpay iOS SDK

Platform Swift SPM Compatible CocoaPods Compatible Version iOS SDK Tests Coverage Status License

Welcome to the FLIZpay iOS SDK! Easily integrate secure, seamless, and user-friendly payments directly into your iOS app.

🚀 Overview

The FLIZpay SDK simplifies accepting payments by managing the entire payment flow via an integrated webview, securely and intuitively within your app.

Get started with our 📚 integration guide


📦 Requirements

The FLIZpay iOS SDK requires Xcode 15 or later and is compatible with apps targeting iOS 13 or above.

💻 Installation

Swift Package Manager

Add the following to your Package.swift dependencies:

dependencies: [
    .package(url: "https://github.com/Flizpay/flizpay-ios.git", from: "0.2.2")
]

CocoaPods

Add the following to your Podfile:

pod 'FlizpaySDK', '~> 0.2.2'

Then run:

pod install

⚡️ Quick Start

After installing the SDK, initiate payments effortlessly by:

  • authorizing your transaction with the API_KEY in your backend to obtain a token
  • use it to load the FLIZPay environment in your application
import FlizpaySDK

FlizpaySDK.initiatePayment(
    from: currentViewController,
    token: token,
    amount: userAmount,
    metadata: metadataInfo
) { error in
    // Handle any error returned from the SDK.
    print("Payment failed: \(error)")
}

Parameters

  • from (UIViewController, required): The Presenting View Controller where the webview is going to be attached
  • token (String, required): JWT authentication token obtained from your backend (Check our docs on how to authenticate).
  • amount (String, required): The payment amount.
  • metadata (`JSONValue, optional): The metadata info
  • @closure onFailure (Function, optional): Block that receives an error param to be called when the webview can't be opened

📖 Detailed Integration Guide

For comprehensive integration details, API authentication steps, obtaining JWT tokens, and additional examples, see our Integration Documentation.


📄 License

FLIZpay SDK is available under the MIT license. See the LICENSE file for more details.


🛟 Support

Need assistance?

👉 Talk to our devs


Happy coding! 🚀🎉

Description

  • Swift Tools 5.10.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri May 16 2025 02:06:24 GMT-0900 (Hawaii-Aleutian Daylight Time)