> ## Documentation Index
> Fetch the complete documentation index at: https://doc-test-my.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Cordova Standard SDK Prerequisites

> Check the prerequisites before you integrate with Razorpay Cordova Standard SDK.

<CardGroup cols={1}>
  <Card title="Troubleshooting & FAQs" href="/docs/payments/payment-gateway/cordova-integration/troubleshooting-faqs">
    Troubleshoot common error scenarios and find answers to frequently asked questions about Cordova Standard integration.
  </Card>
</CardGroup>

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.

<Check>
  **Update SDK**

  Check your current [Cordova](/docs/payments/payment-gateway/cordova-integration/troubleshooting-faqs#7-how-can-i-check-the-razorpay-cordova) or [Iconic](/docs/payments/payment-gateway/cordova-integration/troubleshooting-faqs#8-how-can-i-check-the-razorpay-ionic) Standard SDK version. If it is outdated, please [update the SDK](/docs/payments/payment-gateway/cordova-integration/troubleshooting-faqs#9-how-can-i-update-the-razorpay-cordova) to ensure uninterrupted settlements of your funds.
</Check>

## Guidelines

* Add the integration code snippet after the `deviceready` event.

* On browser, change the [Content Security Policy](https://content-security-policy.com/) to whitelist the `razorpay.com` domain.

```javascript theme={null}
<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 server](https://github.com/ionic-team/ionic-cli/issues/354) 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:**

<ul>
  <li> Create a <a href="https://dashboard.curlec.com/?screen=sign_in&next=app%2Fdashboard" target="_blank">Razorpay Curlec account</a>.</li>
  <li>Generate the <a href="/docs/payments/dashboard/account-settings/api-keys#generate-api-keys" target="_blank">API Keys</a> 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.</li>
  <li>Know about the <a href="/docs/payments/payment-gateway/how-it-works" target="_blank">Payment Flow</a>.</li>
</ul>

Follow these integration steps:

<CardGroup cols={3}>
  <Card title="1. Build Integration" href="/docs/payments/payment-gateway/cordova-integration/integration-steps#1-build-integration">
    Integrate Cordova Standard SDK.
  </Card>

  <Card title="2. Test Integration" href="/docs/payments/payment-gateway/cordova-integration/integration-steps#2-test-integration">
    Test the integration by making a test payment.
  </Card>

  <Card title="3. Go-live Checklist" href="/docs/payments/payment-gateway/cordova-integration/integration-steps#3-go-live-checklist">
    Check the go-live checklist.
  </Card>
</CardGroup>

<CardGroup cols={3}>
  <Card title="Sample Code" href="https://github.com/razorpay/razorpay-cordova-sample-app/tree/master/">
    Check the sample code on GitHub to integrate.
  </Card>
</CardGroup>
