{% set paymentgateways = services.getPaymentGateways({"organizer": app.user.organizer.slug}).getQuery().getResult() %}
{% set paypalInformationProvided = false %}
{% set paypalPaymentGatewaySlug = null %}
{% set stripeInformationProvided = false %}
{% set stripePaymentGatewaySlug = null %}
{% for paymentgateway in paymentgateways %}
{% if paymentgateway.factoryName == "paypal_rest" %}
{% set paypalInformationProvided = true %}
{% set paypalPaymentGatewaySlug = paymentgateway.slug %}
{% elseif paymentgateway.factoryName == "stripe_checkout" %}
{% set stripeInformationProvided = true %}
{% set stripePaymentGatewaySlug = paymentgateway.slug %}
{% endif %}
{% endfor %}
{{'Payout method'|trans}} |
{{'Status'|trans}} |
|
{% if services.getSetting("organizer_payout_paypal_enabled") == "yes" %}
|
{% if paypalInformationProvided %}
{{ "Information provided"|trans }}
{% else %}
{{ "Information not provided"|trans }}
{% endif %}
|
{% if paypalInformationProvided %}
{{ "Edit"|trans }}
{{ "Uset"|trans }}
{% else %}
{{ "Set"|trans }}
{% endif %}
|
{% endif %}
{% if services.getSetting("organizer_payout_stripe_enabled") == "yes" %}
|
{% if stripeInformationProvided %}
{{ "Information provided"|trans }}
{% else %}
{{ "Information not provided"|trans }}
{% endif %}
|
{% if stripeInformationProvided %}
{{ "Edit"|trans }}
{{ "Uset"|trans }}
{% else %}
{{ "Set"|trans }}
{% endif %}
|
{% endif %}