{exp:store:gateways}
{gateway_title} ({gateway_short_name})
{/exp:store:gateways}
The Gateways Tag outputs a list of all enabled payment gateways for the current site. This is useful for displaying available payment options to your customers, such as in a payment method dropdown or a list of supported gateways.
selected
(optional): The short name (class) of a gateway to mark as selected. Useful for highlighting the currently chosen payment method in a dropdown or list.gateway_short_name
: The internal class/short name of the payment gateway (e.g., Stripe
, PayPal_Express
).gateway_title
: The display title of the payment gateway (e.g., Stripe
, PayPal Express
).count
: The 1-based index of the gateway in the list.selected_gateway
: Outputs selected
if this gateway matches the selected
parameter, otherwise blank.<select name="payment_method">
{exp:store:gateways selected="Stripe"}
<option value="{gateway_short_name}" {selected_gateway}>{gateway_title}</option>
{/exp:store:gateways}
</select>
<!-- Or as a simple list -->
<ul>
{exp:store:gateways}
<li>{gateway_title} ({gateway_short_name})</li>
{/exp:store:gateways}
</ul>