Skip to main content
Available in🇮🇳 India

Turbo UPI Cordova Standard SDK

Discover new features, updates and deprecations related to Turbo UPI on Cordova Standard Checkout (since Jan 2024).
With Razorpay Turbo UPI, businesses experience faster and simpler payments. It condenses the payment process from 5 steps to just 1, eliminating app redirections. Enjoy a seamless in-app payment experience, reduce dependencies on third-party UPI apps, and gain complete visibility of the payment journey. You can seamlessly integrate Turbo UPI with Razorpay Cordova Standard SDK. Explore the full potential of Razorpay Turbo UPI and know how it works. Turbo UPI Standard Checkout Flow
  1. Integrate with Razorpay Cordova Standard SDK.
  2. Import the following frameworks:
    • Razorpay Cordova Standard SDK
    • Razorpay Turbo Wrapper Plugin SDK (maven)
    • Razorpay Turbo Core SDK
    • Razorpay Turbo UI SDK
    • Razorpay SecureComponent SDK
    • Bank SDK
  3. Enable data binding in your app.gradle.
Data binding

Onboarding Flow

Ensure your customers onboard with Razorpay Turbo UPI to get started.

Turbo UPI SDK Integration

Follow these steps to integrate with Razorpay Turbo UPI:
  1. Use the code given below to initialise the SDK.
Initialise
  1. Use the following code to link the newly created UPI account with your app. This function can be called from anywhere in the application, providing multiple entry points for customers to link their UPI account with your app.
Link New UPI Account
mobileNumber mandatory : string Mobile number of the customer.color optional : string Colour in HEX format.
  • Handle payment failure responses, displaying important details such as error codes, error descriptions, and metadata. This function is responsible for handling and logging information in the event of a payment error.
Payment Failure Response Handling
  • Handle successful payment responses, displaying key information like order id, payment id, and signature. This code manages and logs details when a payment transaction is successful.
Payment Success Response Handling
  1. To accept payments, call Standard Checkout’s submit method with the following payload:
Submit Payment Details
payload mandatory : variable Payload for initiating transaction.

Non-Transactional Flow

Razorpay provides a single exposed function that allows you to manage linked UPI accounts and access all non-transactional flows seamlessly. View the non-transactional flow
The SDK manages the linked UpiAccounts on the application by triggering manageUpiAccounts(). The sequence of steps is as given below:
  • Fetch balance: Check the customer’s account balance.
  • Change UPI PIN: Provide the customer the ability to change their UPI PIN.
  • Reset UPI PIN: Let your customers reset the PIN for their account.
  • Delete the account from the application: Let your customers delink, that is, remove a selected UPI account from your application.
Java
mobileNumber mandatory : string Mobile number of the customer.color optional : string Colour in HEX format.

Models Exposed from the SDKs

The SDKs given below provide access to exposed models for seamless integration.
Refer to the list of possible error reasons.