To integrate with CustomBrowser in iOS manually:
- Download the latest custom browser archive from the following PayU Github location and extract it:
- Drag and drop PayUCustomBrowser.framework into your project.
libz.tbdlibraries into your project target’s build phases.
SystemConfigurationframework 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.
Updated about 2 months ago