API ReferenceIntegrationsKnowledge Base

Easy Digital Downloads Extension

Easy digital downloads is an ecommerce plugin that makes selling digital downloads through WordPress easy and complete.

Integrating your WordPress Easy digital downloads plugin with Razorpay allows you to accept payments on your WordPress site via the Razorpay Payment Gateway. You can accept payments via debit card, credit card, netbanking (supports 3D Secure), UPI or through any of our supported wallets.

The extension offers seamless integration, allowing the customer to pay on your website without being redirected. This allows the extension to work across all browsers and ensures compatibility with the latest version of WordPress.

Installation and Configuration#

  1. Download and install the latest version of Easy Digital Downloads extension from the WordPress plugin server.
  2. Download the latest razorpay-edd zip filefrom the releases section.
  3. Unzip and upload contents of the extension to your /wp-content/plugins/ directory.
  4. Activate the extension via the Plugins menu in WordPress.
    Note:
    If you have downloaded the extension from GitHub or elsewhere, make sure that the directory is named edd-razorpay.

  5. Log into your WordPress account and activate the Razorpay extension in the WordPress Plugin Manager.
  6. Log into your Easy Digital Downloads account.
  7. Navigate to the Settings page and click the Checkout/Payment Gateways tab.
  8. Click Razorpay to edit the settings.
  9. Enable the Payment Method, name it Credit Card / Debit Card / Internet Banking (this will show up on the payment page your customer sees).
  10. Enter in your <key_id> and <key_secret>. These API Keys can be generated from your Dashboard.
  11. Click Save to save the changes.

Generate API Key#

Note:
You have to generate separate API Keys for the test and live modes. No money is deducted from your account in test mode.

To generate API key:

  1. Log into your Dashboard.
  2. Select the mode for which you want to generate the API key from the menu ribbon.
  3. Navigate to Settings.
  4. Click API Keys.
  5. Click Generate Key to generate key for the selected mode.

The Key Id and Key secret appear in a pop-out window. You also have the option to download the Key Details.

Watch the short animation below for more information.

Note:
After generating the keys from the Dashboard, download and save them securely. If you do not remember your API Keys, you need to re-generate it from the Dashboard and replace it wherever required.

License#

The Razorpay WooCommerce plugin is released under the GPLv2 license, same as that of WordPress.

Click here for details about the license. You can also refer to the license text in the license file on GitHub.