Skip to content

Payment: Filter Payment Gateways

Available since: 1.0.0

Provided tokens

Token Description
[commerce_order] The order entity.
[commerce_order_payment_gateways] The payment gateway configuration.
[event] The event.
[event:machine_name] The machine name of the ECA event.
[session_user] The user account that dispatched the event, regardless if ECA is processing models under a different account.

Reacts when payment gateways are being loaded for an order during checkout. Useful for conditionally hiding or showing payment methods based on order total, customer role, shipping address, or other criteria.