{"id":323920,"date":"2026-06-17T22:31:14","date_gmt":"2026-06-17T22:31:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/flexi-pay\/"},"modified":"2026-06-17T22:15:59","modified_gmt":"2026-06-17T22:15:59","slug":"gateflow-payment-logic","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/gateflow-payment-logic\/","author":490262,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"GateFlow Payment Logic","header_author":"Hamed Takmil (aka silvercover)","header_description":"Restrict WooCommerce payment gateways by flexible rules (products, categories, tags, product type, cart total).","assets_banners_color":"","last_updated":"2026-06-17 22:15:59","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/silvercover.ir","rating":0,"author_block_rating":0,"active_installs":0,"downloads":23,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[145322,131954,48222],"plugin_category":[],"plugin_contributors":[86789],"plugin_business_model":[],"class_list":["post-323920","plugin","type-plugin","status-publish","hentry","plugin_tags-conditional-payments","plugin_tags-payment-methods","plugin_tags-woocommerce-payments","plugin_contributors-silvercover","plugin_committers-silvercover"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/gateflow-payment-logic.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li>Allow-only or deny mode per rule<\/li>\n<li>Conditions: products, categories, tags, product type, cart total<\/li>\n<li>AND logic across conditions within a rule<\/li>\n<li>Intersection of allowed gateways across matched rules<\/li>\n<li>Custom customer-facing message per rule<\/li>\n<li>HPOS compatible<\/li>\n<li>Compatible with classic Checkout and Cart\/Checkout Blocks<\/li>\n<li>Translation ready<\/li>\n<li>Lightweight: single option storage, transient caching, lazy loading<\/li>\n<li>Extensible: register custom conditions via <code>gateflow_payment_logic_register_conditions<\/code><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate via Plugins menu.<\/li>\n<li>Go to WooCommerce &gt; Settings &gt; GateFlow Payment Logic to add rules.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20are%20multiple%20matched%20rules%20combined%3F\"><h3>How are multiple matched rules combined?<\/h3><\/dt>\n<dd><p>The plugin computes the intersection of allowed gateways across all matched rules, so the customer only sees gateways permitted by every applicable rule.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20support%20all%20payment%20gateways%3F\"><h3>Does this plugin support all payment gateways?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"can%20i%20add%20custom%20conditions%3F\"><h3>Can I add custom conditions?<\/h3><\/dt>\n<dd><p>Yes. Implement <code>FlexiPay\\Conditions\\Condition_Interface<\/code> and register your class via the <code>gateflow_payment_logic_register_conditions<\/code> filter.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Restrict WooCommerce payment gateways with flexible rules: products, categories, tags, product type, cart total.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/323920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=323920"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/silvercover"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=323920"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=323920"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=323920"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=323920"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=323920"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=323920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}