{% extends "Global/layout.html.twig" %} {% if paymentgateway.id %} {% set pagetitle = 'Update your %payoutMethodName% payout method'|trans({'%payoutMethodName%': paymentgateway.name}) %} {% else %} {% if app.request.get('factoryName') == "paypal_rest" %} {% set payoutMethodName = "Paypal" %} {% elseif app.request.get('factoryName') == "stripe_checkout" %} {% set payoutMethodName = "Stripe" %} {% endif %} {% set pagetitle = 'Set your %payoutMethodName% payout method'|trans({'%payoutMethodName%': payoutMethodName}) %} {% endif %} {% block title %}{{pagetitle}}{% endblock %} {% block content %} {% set navigation = [{ "dashboard_index": ('Dashboard' | trans), "dashboard_administrator_settings_payment": ('Payment settings' | trans), "current":(pagetitle) }] %} {% include "Global/navigation.html.twig" with navigation %}
{% include "Global/message.html.twig" with { type: "info", message: ('Make sure that the currency setting of your payout method matches the one currently used which is %currency%'|trans({'%currency%': services.getSetting('currency_ccy')})), icon: "fas fa-info-circle" } %}
{{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }} {{ form_widget(form) }} {{ form_end(form) }}
{% endblock %} {% block javascripts %} {% endblock %}