{if !empty($error)}

← [`Payment`] [`Error`]

{$error|escape} {else}

← [`Payment`] {$plugin.name|escape} id:{$plugin.plugin|escape}

{if !empty($plugin.logo)}{/if}

{sprintf('[`A collection of payment option icons is available for free: %s `]','[`https://www.shop-script.com/help/729/payment-shipping-icons/`]','[`https://www.shop-script.com/help/729/payment-shipping-icons/`]')}

[`Description`]

[`HTML. Payment option description is shown to customer during the checkout.`]

{*
[`Delivery info`]

[`Optional text to be sent to customer with the order notification email. Plain text, no HTML allowed.`]

*}
[`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} {if !$type_name@last}
{/if} {/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} {if !$p@last}
{/if} {foreachelse} [`No shipping options are defined.`] {/foreach}
{$settings_html}
{$guide_html}
{/if}