Integrate With Cordova Standard SDK

Integrate the Razorpay Standard Checkout with your Cordova App.


Integrate Razorpay Payment Gateway on your

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.

Version No.Release DateChanges
1.4.1505 April 2022Features :
  • Android version upgraded to 1.6.19
  • UPI Apps added to queries by default
1.4.1420 July 2021Feature : Android SDK version upgraded to 1.6.10.
1.4.1101 June 2020Bug Fix : Razorpay payment page not opening on Android release mode in ionic.
1.4.1003 April 2020Feature : Added Swift 5.2 support on the current package.

Watch this video to know how to integrate Razorpay Payment Gateway on your Cordova app.

  • 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.

Is this integration guide useful?