Troubleshooting & FAQs
Troubleshoot common error scenarios and find answers to frequently asked questions about Cordova Standard integration.
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
devicereadyevent. -
On browser, change the Content Security Policy to whitelist the
razorpay.comdomain.
- We do not support ionic server at the moment because it does not support cordova browser plugins. Try using the
ionic cordova run browsercommand 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.
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.