Integrate With Cordova Standard SDK

Integrate the Razorpay Standard Checkout with your Cordova App.


Integrate Razorpay Payment Gateway on your Cordova app 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.

List of Razorpay Cordova Standard SDK Versions (Last 4 versions)🔗

Version No.

Release Date

Changes

1.4.15

05 April 2022

Features:

  • Android version upgraded to 1.6.19
  • UPI Apps added to queries by default

1.4.14

20 July 2021

Feature: Android SDK version upgraded to 1.6.10

1.4.11

01 June 2020

Bug Fix: Razorpay payment page not opening on Android release mode in ionic

1.4.10

03 April 2020

Feature: Added Swift 5.2 support on the current package

Video Tutorial🔗

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

Guidelines🔗

  • Add the integration code snippet after the deviceready event.

  • On browser, change the Content Security Policy to whitelist the razorpay.com domain.

Copy<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 ionic serve at the moment because it does not support cordova browser plugins. Try using the ionic cordova run browser command instead.
×