Skip to main content

Troubleshooting & FAQs

Troubleshoot common error scenarios and find answers to frequently asked questions about Cordova Standard integration.
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 SDKCheck your current Cordova or Iconic Standard SDK version. If it is outdated, please update the SDK to ensure uninterrupted settlements of your funds.

Guidelines

  • Add the integration code snippet after the deviceready event.
  • On browser, change the Content Security Policy to whitelist the razorpay.com domain.
  • We do not support ionic server at the moment because it does not support cordova browser plugins. Try using the ionic cordova run browser command instead.

Integration Steps

Before you proceed:
  • Create a Razorpay Curlec account.
  • Generate the API Keys 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 Payment Flow.
Follow these integration steps:

1. Build Integration

Integrate Cordova Standard SDK.

2. Test Integration

Test the integration by making a test payment.

3. Go-live Checklist

Check the go-live checklist.

Sample Code

Check the sample code on GitHub to integrate.