iOS SDK
Last updated
Was this helpful?
Last updated
Was this helpful?
To initialize the SDK add the below line of code with the public key you retrieved from ippopay merchant panel. If you don't have a public key create new one.
You can create the order data or payment input with our OrderData Model class. Here you need to provide order id and customer details like name, email, mobile number. Create order from Server side using below API and get the Order id. to know how to create a order.
Use the below line of code to make the payment with the order data you created in Step - 4
Implement our payment delegate to receive the payment result for the payment we made in Step - 5. Use the below code to obtain the payment result.
iOS 9 has higher requirements for secure URLs. As many Indian banks do not comply with the requirements, you can implement the following as a workaround in Info.plist
You can enable/disable the SDK logs by using the below line of code. By default it will be enabled.
Please check for sample payment with above steps.