Non-Seamless Wrapper
This is v1 react-native UI wrapper built upon PayU's Android and iOS sdk.
This SDK is no longer supported. Please refer to PayUCheckoutPro for the latest react native wrapper
Installation
For installing it to your project follow the below steps.
For iOS
Add following code also for integration.
in podfile and run following command.
Usage
Creating Params
For information about CustomBrowser Config refer here
For information about Review Order refer here
Creating Hash Object
For generating below hashes use method described as here where command name is same as their type and var1 is userCredentials which uniquely identifies your Customer or default.
Command/Hash Type
vas_for_mobile_sdk
payment_related_details_for_mobile_sdk
delete_user_card
check_offer_status
For generating Payment Hash(to be set under payment_source key visit here.
Call makePayment method available in PayUBizSdk using params and hashes created above. It returns a promise object where on success /failure transaction response can be found using key merchant_response for response being sent by your Surl/Furl and payu_response for response being sent by PayU's Backend. For any other result catch the error[Payment being cancelled by user].
Last updated