Title: Sepal Payment Gateway for WooCommerce
Author: msepal
Published: <strong>ନଭେମ୍ବର 26, 2021</strong>
Last modified: ସେପ୍ଟେମ୍ବର 14, 2026

---

Search plugins

![](https://ps.w.org/sepal/assets/icon-128×128.png?rev=2635769)

# Sepal Payment Gateway for WooCommerce

 By [msepal](https://profiles.wordpress.org/msepal/)

[Download](https://downloads.wordpress.org/plugin/sepal.2.0.3.zip)

 * [Details](https://ory.wordpress.org/plugins/sepal/#description)
 * [Reviews](https://ory.wordpress.org/plugins/sepal/#reviews)
 *  [Installation](https://ory.wordpress.org/plugins/sepal/#installation)
 * [Development](https://ory.wordpress.org/plugins/sepal/#developers)

 [Support](https://wordpress.org/support/plugin/sepal/)

## Description

This plugin adds Sepal Payment Gateway to your WooCommerce store. It supports standard
checkout and the new WooCommerce Checkout Blocks.

ویژگی‌ها:
 * سازگار با API v1 سپال (payment.sepal.ir/api/v1/payment/) * پشتیبانی
از legacy endpoints (/api/request.json) * Verify الزامی پس از callback * جلوگیری
از پرداخت تکراری و تطبیق مبلغ * سازگار با HPOS * پشتیبانی از واحدهای پولی ریال، 
تومان، هزار ریال و هزار تومان

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/sepal-woocommerce` directory.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Use WooCommerce -> Settings -> Payments -> Sepal to configure apiKey and Base URL.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Sepal Payment Gateway for WooCommerce” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ msepal ](https://profiles.wordpress.org/msepal/)
 *   [ sepal ](https://profiles.wordpress.org/sepal/)

“Sepal Payment Gateway for WooCommerce” has been translated into 1 locale. Thank
you to [the translators](https://translate.wordpress.org/projects/wp-plugins/sepal/contributors)
for their contributions.

[Translate “Sepal Payment Gateway for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/sepal)

### Interested in development?

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

## Changelog

#### 2.0.3

 * Show Sepal failure message on callback (e.g. missing Referer) instead of generic
   cancel text
 * No plugin setting needed for Referer — browser redirect already sends it

#### 2.0.2

 * Fix: redirect to Sepal gateway no longer falls back to WordPress admin (wp_safe_redirect
   blocked external host)

#### 2.0.1

 * Migrate to v1 API endpoints (/api/v1/payment/request/, verify/, payment/{n}/)
 * Fix HTTP client (wp_remote_post, timeout, SSL, JSON headers)
 * Add callback GET+POST support, amount validation, duplicate payment guard
 * Store payment meta on order; verify before marking paid
 * Add debug logging without exposing apiKey
 * Security: sanitize inputs, validate invoice/paymentNumber/order binding

#### 2.0.0

 * Switch API base to https://payment.sepal.ir
 * Payment redirect path: /api/payment/{paymentNumber}/
 * Configurable Base URL in gateway settings

#### 1.1.0

 * Added support for WooCommerce Blocks (New Checkout).
 * Added HPOS compatibility.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **2.0.3**
 *  Last updated **1 week ago**
 *  Active installations **70+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.2 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/sepal/) and [Persian](https://fa.wordpress.org/plugins/sepal/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/sepal)
 * Tags
 * [bank](https://ory.wordpress.org/plugins/tags/bank/)[gateway](https://ory.wordpress.org/plugins/tags/gateway/)
   [payment](https://ory.wordpress.org/plugins/tags/payment/)[woocommerce](https://ory.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://ory.wordpress.org/plugins/sepal/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/sepal/reviews/)

## Contributors

 *   [ msepal ](https://profiles.wordpress.org/msepal/)
 *   [ sepal ](https://profiles.wordpress.org/sepal/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sepal/)