Reference app for integrating Checkout using Payabbhi iOS SDK
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Payabbhi iOS Sample App

This is a reference app for enabling Payments acceptance in your iOS App using Payabbhi iOS SDK.

For Integration guide, refer to Mobile Checkout - iOS.


  • App Specifications

    • Language Used: Swift
    • Xcode Version: 9.4
  • Framework Specifications

    • Framework Version: 9.3

Run the Sample App

Make sure you have signed up for your Payabbhi Account and downloaded the API keys from the Portal.

  • Clone the project

  • Replace <ACCESS-ID> with your Access ID in ViewController.swift

  • Add logic to get order_id from your Mobile Backend (server-side code) in ViewController.swift

    TIP: An alternative to having a Mobile Backend for running the sample App is:

    1. Generate a unique order_id using curl
    2. Copy/paste the generated order_id in ViewController.swift
    3. Once a successful test transaction is completed for a particular order, repeat the above steps
    curl \
      -u access_id:secret_key \
      -d amount=100 \
      -d merchant_order_id=ordRefNo123456 \
      -d currency=INR
  • Pass suitable values in Checkout options in ViewController.swift e.g. <order-amount> as per Order.amount