Simplified Integration
You can use PayU’s view controller, that is, PUCBWebVC
for making payment. This view controller creates a UIWebView
or WKWebview
based on configuration and loads it to facilitate payment.
Using Cocoapods
- Add the following line to Podfile:
PayUIndia-Custom-Browser
- Execute the following command:
pod install
Integrate the latest Custom Browser SDK:
PayU recommends that you integrate the latest version of Custom Browser SDK. To check the latest version, refer to PayU Github Release page.
Reinstall Custom Browser on latest Cocoapods release
If the above procedure installs the older version of the Custom Browser's pod, use the following steps to reinstall CB with the latest release.
- Uninstall older CB and remove the following line from your pod file:
PayUIndia-Custom-Browser
- Execute the following command:
pod install
- Update the pods local repository using the following command:
pod repo update
- Clean the pods cache using the following command:
pod cache clean --all
- Download CB from the following location and install CB: https://github.com/payu-intrepos/Documentations/wiki/9.-iOS-Custom-Browser/_edit#using-cocoapods
Updated 6 months ago