Example
To run the example project, clone the repo, and run pod install from the Example directory first.Requirements
Payaza SDK is compatible with iOS apps running on iOS 11.0 and above. It requires Xcode 10.0+ to build the source..Example
PayAzaSDK is available through Cocoapods. To install it, simply add the following line to your Podfile:FOR PODFILE
In your terminal, run
Usage
There are three steps you would have to complete to set up the SDK and perform transactionStatus- Install the SDK as a dependency.
- Configure the SDK with Merchant Information.
- Initiate Payment with customer details.
Request Sample
Arguments
| Parameter | Description | Format |
|---|---|---|
| baseUrl | The URL of the payment service | string |
| The email address of the customer. | string | |
| firstName | The first name of the customer. | string |
| lastName | The last name of the customer. | string |
| phone | The phone number of the customer. It must be international standard i.e. +2348012345678 | string |
| transactionref | This is the transaction reference that you generated for the transaction. This unique and no 2 transactions can have the same reference.. | string |
| merchantKey | This is your public API Key. | string |
| isLive | Mode of session (If False, it is in test mode, if True, It is in live mode). | boolean |
| transactionAmount | The amount that the customer would pay. | amount |
| currency | It refers to the code of the currency.(NGN, USD etc.). | string |