Integration Steps
1.1 Install Razorpay Android UPI Intent SDK. 1.2 Initialise SDK by Adding API Key. 1.2 Pass Result to Razorpay.1.1 Install Razorpay Android UPI Intent SDK
Download the jar file and include it in thelibs folder.
1.2 Initialise SDK by Adding API Key
To initiate the SDK, call the Razorpay class constructor in your project and pass Razorpay API Key ID as thekey and webView as the object that handles the payment flow.
1.3 Pass Result to Razorpay
When UPI is selected as the payment method, Razorpay invokes the Intent Flow page that lists all installed UPI apps on the customer’s phone that support intent flow. The customer can select an app and make the payment. Upon payment completion, the UPI app will return the result back to youractivity in onActivityResult method. This should be passed to Razorpay as shown below: