Directory / plugin

GateFlow Payment Logic

v1.0.0 · by Hamed Takmil

Restrict WooCommerce payment gateways with flexible rules: products, categories, tags, product type, cart total.

View on WordPress.org

About this plugin

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

Plugin tags