Prerequisites

Check the prerequisites before you integrate with Razorpay Cordova Standard SDK.


You can use Razorpay Standard SDK to integrate the Razorpay Payment Gateway with your Cordova Application to accept payments. The Razorpay Cordova plugin acts as a wrapper around the Razorpay Standard SDK to build a dynamic and responsive Checkout interface for your iOS or Android application.

Update SDK

Check your current

or Standard SDK version. If it is outdated, please to ensure uninterrupted settlements of your funds.

  • Add the integration code snippet after the deviceready event.

  • On browser, change the

    to whitelist the razorpay.com domain.

<meta http-equiv="Content-Security-Policy" content="default-src 'self' https://*.razorpay.com data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *"/>
  • We do not support at the moment because it does not support cordova browser plugins. Try using the ionic cordova run browser command instead.

Before you proceed:

  • Ensure you have an Axis Dashboard account.
  • Generate the from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
  • Know about the .

Follow these integration steps: