{if !empty($error)}

 [`Error`]

{$error|escape} {else}

 {$plugin.name|escape} id:{$plugin.plugin|escape}

[`Description`]
[`HTML. Payment option description is shown to customer during the checkout.`]
{if !empty($plugin.logo)}
{/if}
{if !empty($settings_html)}
{$settings_html}
{/if} {if !empty($guide_html)}
{$guide_html}
{/if}

[`Checkout`]

[`Offer payment to customer types`]
{sprintf('[`In “%s” mode payment is offered only to selected customer types.
In “%s” mode this setting is ignored and payment is always offered to all customer types.`]', '[`In-cart checkout`]', '[`Multi-step checkout`]')}
[`Offer this payment method with selected shipping types`]
{foreach $shipping_types as $shipping_type=>$type_name}
{/foreach}
{sprintf('[`In “%s” mode payment is offered only with selected shipping types.
In “%s” mode this setting is ignored and payment is always offered with all shipping types.`]', '[`In-cart checkout`]', '[`Multi-step checkout`]')}
[`Offer this payment method with the selected shipping methods`]
{foreach $shipping as $p}
{foreachelse}
[`No shipping options are defined.`]
{/foreach}
[`Offer this payment method on selected storefronts`]
{foreach $storefronts as $s}
{if !$s.force_enabled} {/if}
{foreachelse}
[`No storefronts`]
{/foreach}
[`Cancel`]
{if isset($plugin.status) && !empty($plugin.id)}
[`Delete this payment option`]
{/if}
{/if}