Manual Integration
To integrate with CustomBrowser in iOS manually:
- Download the latest custom browser archive from the following PayU Github location and extract it:
https://github.com/payu-intrepos/iOS-Custom-Browser/releases - Drag and drop PayUCustomBrowser.framework into your project.
- Add
libz.tbd
libraries into your project target’s build phases. - Add
SystemConfiguration
framework into your project target’s Build Phases. - Add -ObjC in Other Linker Flags in Project Build Settings.
- Add PayUCustomBrowser.framework in Embedded Binaries in General Settings.
After the CustomBrowser library is added to your project, you can go ahead and use it to make payments.
Import PayU SDK
While working with a Swift project, add the above code in the Bridging-Header.h
file. This is applicable to Objective-C or Swift programming language.
#import <PayUCustomBrowser/PayUCustomBrowser.h>
Updated about 1 year ago