Title: GateFlow Payment Logic
Author: Hamed Takmil
Published: <strong>جون 17, 2026</strong>
Last modified: جون 18, 2026

---

جستجوی افزونه‌ها

![](https://ps.w.org/gateflow-payment-logic/assets/icon-256x256.jpg?rev=3577154)

# GateFlow Payment Logic

 توسط [Hamed Takmil](https://profiles.wordpress.org/silvercover/)

[دانلود](https://downloads.wordpress.org/plugin/gateflow-payment-logic.1.0.0.zip)

 * [جزئیات](https://fa-af.wordpress.org/plugins/gateflow-payment-logic/#description)
 * [نقد و بررسی‌ها](https://fa-af.wordpress.org/plugins/gateflow-payment-logic/#reviews)
 *  [نصب](https://fa-af.wordpress.org/plugins/gateflow-payment-logic/#installation)
 * [توسعه](https://fa-af.wordpress.org/plugins/gateflow-payment-logic/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/gateflow-payment-logic/)

## توضیحات

GateFlow Payment Logic lets you allow or deny specific WooCommerce payment gateways
based on what is in the customer’s cart. Define rules using a familiar WooCommerce-
style settings tab.

For instance, you can limit payment options like Cash on Delivery, PayPal, Stripe,
or other popular methods depending on specific conditions.

**Features**

 * Allow-only or deny mode per rule
 * Conditions: products, categories, tags, product type, cart total
 * AND logic across conditions within a rule
 * Intersection of allowed gateways across matched rules
 * Custom customer-facing message per rule
 * HPOS compatible
 * Compatible with classic Checkout and Cart/Checkout Blocks
 * Translation ready
 * Lightweight: single option storage, transient caching, lazy loading
 * Extensible: register custom conditions via `gateflow_payment_logic_register_conditions`

## عکس‌های صفحه

[⌊Add Rule tab in woocommerce settings⌉⌊Add Rule tab in woocommerce settings⌉[

Add Rule tab in woocommerce settings

[⌊Payment Restriction Rules list⌉⌊Payment Restriction Rules list⌉[

Payment Restriction Rules list

[⌊Cart page notice⌉⌊Cart page notice⌉[

Cart page notice

[⌊Checkout page notice⌉⌊Checkout page notice⌉[

Checkout page notice

## نصب

 1. Upload the plugin folder to `/wp-content/plugins/`.
 2. Activate via Plugins menu.
 3. Go to WooCommerce > Settings > GateFlow Payment Logic to add rules.

## سوالات متداول

### How are multiple matched rules combined?

The plugin computes the intersection of allowed gateways across all matched rules,
so the customer only sees gateways permitted by every applicable rule.

### Does this plugin support all payment gateways?

It works seamlessly with several widely used payment gateways, including WooCommerce
Stripe, WooCommerce PayPal Checkout, WooCommerce PayFast Gateway, Braintree for 
WooCommerce Payment Gateway, and others.

### Can I add custom conditions?

Yes. Implement `FlexiPay\Conditions\Condition_Interface` and register your class
via the `gateflow_payment_logic_register_conditions` filter.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/e97f26ae3018c5870c350b7f8ddbddf790cf29a221defbd54aff5f59390f659f?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-41580/)󠁿

 [nevercom](https://profiles.wordpress.org/nevercom/) جون 18, 2026

I manage a few busy e-commerce sites, and I was constantly writing custom PHP snippets
every time a client wanted to restrict a payment gateway for specific products. 
It was getting incredibly tedious to maintain. I installed Gateflow to see if it
could handle our weird edge cases, and it completely streamlined the process. It’s
exactly what an admin needs—zero bloat, does one job perfectly, and saved me hours
of messing around with checkout hooks. If you manage WooCommerce stores, this is
an absolute lifesaver to have in your stack.

![](https://secure.gravatar.com/avatar/a978e99a148b7f81912eed8bf74ba1825f8f876eb0d2263549da2c7a886ebb88?
s=60&d=retro&r=g)

### 󠀁[lightweight and easy to use](https://wordpress.org/support/topic/lightweight-and-easy-to-use-19/)󠁿

 [Ehsan Fotoohabadi](https://profiles.wordpress.org/ehsanfotoo/) جون 18, 2026

A very lightweight plugin and easy to use. I had a few items that needed to be paid
for at my door, and the online payment gateways wasn't active for them. I did it
very easily and for free with this plugin.

![](https://secure.gravatar.com/avatar/6d83111fdbeb53370438391f2aecd9f76444a77600e9f10847473bc69f782e8e?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-41579/)󠁿

 [masihfa](https://profiles.wordpress.org/masihfa/) جون 18, 2026

Simple, lightweight, and works exactly as described. It makes managing payment gateways
based on cart contents very easy. Highly recommended!

![](https://secure.gravatar.com/avatar/0988cf20a4896465dd30e395faa111b5baa42ea7246cbed8e75399b32f67d2ec?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-17150/)󠁿

 [Hossein](https://profiles.wordpress.org/ihmahmoodi/) جون 18, 2026

Hi,it's great and solve my problem easily. Thanks

 [ خواندن تمامی 4 نقد و بررسی‌ ](https://wordpress.org/support/plugin/gateflow-payment-logic/reviews/)

## توسعه دهندگان و همکاران

“GateFlow Payment Logic” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Hamed Takmil ](https://profiles.wordpress.org/silvercover/)

“GateFlow Payment Logic” به 1 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/gateflow-payment-logic/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “GateFlow Payment Logic” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/gateflow-payment-logic)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/gateflow-payment-logic/),
را بررسی کنید [مخزن SVN](https://plugins.svn.wordpress.org/gateflow-payment-logic/),
یا مشترک شوید [گزارش توسعه](https://plugins.trac.wordpress.org/log/gateflow-payment-logic/)
توسط [RSS](https://plugins.trac.wordpress.org/log/gateflow-payment-logic/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.0.0

 * Initial release.

## اطلاعات

 *  Version **1.0.0**
 *  Last updated **3 ماه پیش**
 *  Active installations **کمتر از 10**
 *  WordPress version ** 6.0 یا بالاتر **
 *  Tested up to **7.0.6**
 *  PHP version ** 7.4 یا بالاتر **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/gateflow-payment-logic/) و [Persian](https://fa.wordpress.org/plugins/gateflow-payment-logic/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/gateflow-payment-logic)
 * Tags
 * [conditional payments](https://fa-af.wordpress.org/plugins/tags/conditional-payments/)
   [payment methods](https://fa-af.wordpress.org/plugins/tags/payment-methods/)[woocommerce payments](https://fa-af.wordpress.org/plugins/tags/woocommerce-payments/)
 *  [نمایش پیشرفته](https://fa-af.wordpress.org/plugins/gateflow-payment-logic/advanced/)

## امتیازها

 5 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/gateflow-payment-logic/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/gateflow-payment-logic/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/gateflow-payment-logic/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/gateflow-payment-logic/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/gateflow-payment-logic/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/gateflow-payment-logic/reviews/)

## مشارکت کنندگان

 *   [ Hamed Takmil ](https://profiles.wordpress.org/silvercover/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/gateflow-payment-logic/)