Title: Integrate ZarinPal for EDD
Author: Alireza Barani
Published: <strong>March 27, 2025</strong>
Last modified: August 28, 2025

---

Search plugins

![](https://ps.w.org/integrate-zarinpal-edd/assets/banner-772x250.png?rev=3262849)

![](https://ps.w.org/integrate-zarinpal-edd/assets/icon.svg?rev=3262849)

# Integrate ZarinPal for EDD

 By [Alireza Barani](https://profiles.wordpress.org/alireza1219/)

[Download](https://downloads.wordpress.org/plugin/integrate-zarinpal-edd.1.1.0.zip)

 * [Details](https://vec.wordpress.org/plugins/integrate-zarinpal-edd/#description)
 * [Reviews](https://vec.wordpress.org/plugins/integrate-zarinpal-edd/#reviews)
 * [Development](https://vec.wordpress.org/plugins/integrate-zarinpal-edd/#developers)

 [Support](https://wordpress.org/support/plugin/integrate-zarinpal-edd/)

## Description

This plugin integrates Zarinpal, a popular Iranian payment gateway, with Easy Digital
Downloads (EDD). It allows users to make secure transactions using Zarinpal while
purchasing digital products through EDD.

**Features:**
 – Seamless integration with Easy Digital Downloads – Secure and reliable
payment processing through Zarinpal – Customizable settings for Merchant ID – Compatible
with the latest WordPress versions

**Disclaimer**: This plugin is not associated with, endorsed by, or officially supported
by Easy Digital Downloads (EDD) or ZarinPal. All trademarks and logos mentioned 
are the property of their respective owners.

### External services

This plugin relies on the following external services to ensure proper functionality:

### 1. ZarinPal (Payment Gateway)

 * **Purpose**: A service used for securely processing payments and handling financial
   transactions on your website.
 * **Data sent**:
    - The order amount.
    - The user’s full name (if provided).
    - Callback URL (redirects the user back to the website after payment).
    - Merchant ID (provided by ZarinPal to the website owner).
 * **When the data is sent**:
    - When the user initiates the EDD (Easy Digital Downloads) payment process and
      selects ZarinPal as the payment gateway.
    - When the ZarinPal transaction is completed, and the user is redirected back
      to the website.
 * **Service Information**:
    - Official website: [ZarinPal](https://www.zarinpal.com)
    - Terms of Service: [ZarinPal Terms of Service](https://www.zarinpal.com/terms.html)
    - Privacy Policy: [ZarinPal Privacy Policy](https://www.zarinpal.com/policy.html)

### 2. ZarinPal Sandbox (Custom Gateway)

 * **Disclaimer**: This sandbox environment is not provided by ZarinPal and was 
   developed and hosted by the plugin developer for testing purposes.
 * **Purpose**: A custom sandbox environment created to simulate the ZarinPal payment
   gateway for testing and development purposes, following ZarinPal’s discontinuation
   of their official sandbox environment.
 * **Data sent**:
    - The order amount.
    - The user’s full name (if provided).
    - Callback URL (redirects the user back to the website after payment).
    - Merchant ID (any valid 36-character string).
 * **When the data is sent**:
    - When the user initiates the EDD payment process and selects ZarinPal (Sandbox)
      as the payment gateway.
    - When the transaction is completed, and the user is redirected back to the 
      website.
 * **Additional Information**:
    - This service is only being used when the payment test mode is enabled from
      EDD settings.
    - Data stored by the sandbox environment service will be cleared daily at 00:
      00 (midnight) IRST (Iran Standard Time) from the database.
    - This custom sandbox environment is hosted by the plugin developer.
    - The source code of the sandbox environment is available at [GitHub](https://github.com/alireza1219/zarinpal-sandbox).
 * **Service Information**:
    - [Terms of Service and Privacy Policy](https://sandbox.alireza1219.ir/tos/zarinpal-sandbox-tos-pivacy.html)

## Screenshots

[⌊Configure your Zarinpal Merchant ID and options.⌉⌊Configure your Zarinpal Merchant
ID and options.⌉[

Configure your Zarinpal Merchant ID and options.

[⌊Customers can choose Zarinpal as their payment method.⌉⌊Customers can choose Zarinpal
as their payment method.⌉[

Customers can choose Zarinpal as their payment method.

[⌊Successful payment confirmation page.⌉⌊Successful payment confirmation page.⌉[

Successful payment confirmation page.

## FAQ

### How do I get a Zarinpal Merchant ID?

Register and obtain your Merchant ID by signing up at [Zarinpal’s official website](https://www.zarinpal.com).

### Is this plugin compatible with all Easy Digital Downloads versions?

This plugin is tested with the latest version of Easy Digital Downloads. However,
ensure you are using an updated version for the best compatibility.

### Does this plugin support sandbox mode for testing?

Yes! You can enable EDD’s test mode setting for testing transactions.

### Does this plugin support recurring payments

Unfortunately, no. ZarinPal does not support recurring payments.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Integrate ZarinPal for EDD” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ Alireza Barani ](https://profiles.wordpress.org/alireza1219/)

“Integrate ZarinPal for EDD” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/integrate-zarinpal-edd/contributors)
for their contributions.

[Translate “Integrate ZarinPal for EDD” into your language.](https://translate.wordpress.org/projects/wp-plugins/integrate-zarinpal-edd)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/integrate-zarinpal-edd/),
check out the [SVN repository](https://plugins.svn.wordpress.org/integrate-zarinpal-edd/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/integrate-zarinpal-edd/)
by [RSS](https://plugins.trac.wordpress.org/log/integrate-zarinpal-edd/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release

#### 1.1.0

 * Prevent payment process when a recurring item is present in the cart

## Meta

 *  Version **1.1.0**
 *  Last updated **12 months ago**
 *  Active installations **80+**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **6.8.7**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/integrate-zarinpal-edd/) and [Persian](https://fa.wordpress.org/plugins/integrate-zarinpal-edd/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/integrate-zarinpal-edd)
 * Tags
 * [easy digital downloads](https://vec.wordpress.org/plugins/tags/easy-digital-downloads/)
   [edd](https://vec.wordpress.org/plugins/tags/edd/)[zarinpal](https://vec.wordpress.org/plugins/tags/zarinpal/)
   [زرین پال](https://vec.wordpress.org/plugins/tags/%d8%b2%d8%b1%db%8c%d9%86-%d9%be%d8%a7%d9%84/)
 *  [Advanced View](https://vec.wordpress.org/plugins/integrate-zarinpal-edd/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/integrate-zarinpal-edd/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/integrate-zarinpal-edd/reviews/)

## Contributors

 *   [ Alireza Barani ](https://profiles.wordpress.org/alireza1219/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/integrate-zarinpal-edd/)