Zilla connect is an easy, fast and secure way for your users to buy now and pay later from your app

Overview

Zilla Checkout iOS SDK

Zilla connect is an easy, fast and secure way for your users to buy now and pay later from your app. It is a drop in framework that allows you host the Zilla checkout application within your iOS application and allow customers make payments using any of the available payment plans.

Getting Started

  1. Register on your Zilla Merchant dashboard to get your public and secret keys.

Installation

Cocoapods

Zilla Checkout iOS sdk is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'CheckoutiOS'

Requirements

  • iOS 11.0 or higher

Then in your code, create a new instance of the Zilla connect Import Checkout SDK

import CheckoutiOS

Methods

There are two ways to make use of the Zilla Checkout Sdk

  • completeExistingOrder() You can use this if have your own server and choose to create your order from your server (see how) to generate an id(orderCode) that you can pass as a parameter to your zilla connect instance.

  • createNewOrder() You can use this if you want to create your order on the fly from your android application. Your order parameters are passed to the zilla checkout instance.

Usage

Completing an existing order

", withOrderId: " ", onSuccess: { result in self.statusLabel.text = "Transaction status: \(result.status)" print(" onSuccess: \(result)") }, onEvent: { eventName,data in })">
Zilla.shared.completeExistingOrder(withViewController: self,
                                   withPublicKey: "
     
      "
     ,
                                   withOrderId: "
     
      "
     ,
                                   onSuccess: { result in
    self.statusLabel.text = "Transaction status: \(result.status)"
    print(" onSuccess: \(result)")
}, onEvent: { eventName,data in })

Creating a new order

") .productCategory("Fashion") .build() Zilla.shared.createNewOrder(withViewController: self, withPublicKey: " ", withTransactionParams: params, onSuccess: { result in print(" onSuccess: \(result)") }, onEvent: { eventName, data in print(" onEvent: \(eventName) data \(data)") })">
let params = TransactionParamsBuilder()
    .title(title)
    .amount(10000)
    .clientOrderReference(<unique_ref>)
    .redirectUrl("
     
      "
     )
    .productCategory("Fashion")
    .build()

Zilla.shared.createNewOrder(withViewController: self,
                            withPublicKey: "
     
      "
     ,
                            withTransactionParams: params,
                            onSuccess: { result in
    print(" onSuccess: \(result)")
},
                            onEvent: { eventName, data in
    print(" onEvent: \(eventName) data \(data)")
})

Public key

Read more about the transaction parameters in this doc

Support

If you're having general difficulties with Zilla Connect or your Sdk integration, please reach out to us at [email protected] or come chat with us on Slack. We're more than happy to help you out with your integration to Zilla.

License

MIT

You might also like...
Unopinionated and flexible library for easily integrating Tumblr data into your iOS or OS X application.

Tumblr SDK for iOS An unopinionated and flexible library for easily integrating Tumblr data into your iOS or OS X application. The library uses ARC re

All in one eKYC (Electronic Know Your Customer) solution available for android and ios
All in one eKYC (Electronic Know Your Customer) solution available for android and ios

WideKYC All in one eKYC (Electronic Know Your Customer) solution available for android and ios. Wide Technologies provides an SDK for you to implement

A simple to use iOS/tvOS/watchOS SDK to help get you off the ground quickly and efficiently with your Elastic Path Commerce Cloud written in Swift.

Elastic Path Commerce Cloud iOS Swift SDK A simple to use iOS/tvOS/watchOS SDK to help get you off the ground quickly and efficiently with your Elasti

Used to integrate the Facebook Platform with your iOS & tvOS apps.

Facebook SDK for iOS This open-source library allows you to integrate Facebook into your iOS app. Learn more about the provided samples, documentation

Home-assistant-swift-sdk - Used to integrate the Home Assistant APIs with your Swift-based apps.

home-assistant-swift-sdk This open-source library allows you to interact with a Home Assistant instance in your Swift-based (e.g., iOS, macOS, etc.) a

Sample app to demonstrate the integration code and working of Dyte SDK for iOS, using Objective-C.
Sample app to demonstrate the integration code and working of Dyte SDK for iOS, using Objective-C.

iOS sample app (using Objective-C) by dyte Sample app to demonstrate the usage of Dyte iOS SDK Explore the docs » View Demo · Report Bug · Request Fea

Build a workout app from scratch using SwiftUI and HealthKit
Build a workout app from scratch using SwiftUI and HealthKit

Build a workout app for Apple Watch Build a workout app from scratch using SwiftUI and HealthKit during this code along. Learn how to support the Alwa

In-app feedback and bug reporting tool for apps.

Instabug iOS SDK Instabug is an in-app feedback and bug reporting tool for mobile apps. With just a simple shake, your users or beta testers can repor

Stacksift App SDK

Stacksift SDK Capture and submit crashes to Stacksift. This library ties together Wells and Impact to provide a full crash capturing and submission sy

Owner
null
Native iOS port of KDE Connect

Welcome to KDE Connect iOS 2021's Testing Repository! This project is inteded to be the iOS version of the group of applications called KDE Connect, w

KDE GitHub Mirror 292 Dec 27, 2022
This is swift project example to connect VNPTSmartCA SDK using Swift Language.

Example source code to integrate with VNPTSmartCA iOS SDK To run the example project, clone repository, and run pod install Requirements Installation

null 1 Feb 14, 2022
⚡️ A fully-featured and blazing-fast Swift API client to interact with Algolia.

The perfect starting point to integrate Algolia within your Swift project Documentation • Community Forum • Stack Overflow • Report a bug • FAQ • Supp

Algolia 192 Dec 23, 2022
Smooch is the best way to have personal, rich conversations with people on your website or customers on any device

Smooch is the best way to have personal, rich conversations with people on your website or customers on any device. Our features, integrations and developer-friendly APIs empower companies to connect with their customers in a whole new way.

Zendesk 121 Aug 1, 2022
A very simple way to implement Backbone.js style custom event listeners and triggering in Swift for iOS development.

Swift Custom Events A very simple way to implement Backbone.js style custom event listeners and triggering in Swift for iOS development. This provides

Stephen Haney 98 Dec 25, 2022
MainTask - Create main task by using a simple way

MainTask Create a main task by using a simple way. MainTask { print(Thread.c

Underthestars-zhy 1 Jan 17, 2022
ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.

ResearchKit Framework The ResearchKit™ framework is an open source software framework that makes it easy to create apps for medical research or for ot

null 5.5k Dec 26, 2022
Doll - A mac app to help monitor your app badges

Doll is a Mac app that help you catch up important messages! In macOS, It feels

null 328 Jan 4, 2023
Accept credit cards and PayPal in your iOS app

Important: PayPal Mobile SDKs are Deprecated. The APIs powering them will remain operational long enough for merchants to migrate, but the SDKs themse

PayPal 973 Dec 18, 2022
Px-mobile-sdk-demo-app - PerimeterX Mobile SDK - Demo App

About PerimeterX PerimeterX is the leading provider of application security solu

PerimeterX 1 Nov 20, 2022