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 Date | Changes |
---|---|---|
1.4.15 | 05 April 2022 | Features :
|
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. |
Watch this video to know how to integrate Razorpay Payment Gateway on your Cordova app.
Check the sample code on
to integrate.-
Add the integration code snippet after the
deviceready
event. -
On browser, change the
to whitelist therazorpay.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.
- Create a .
- Generate the from the Razorpay 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:
Is this integration guide useful?