{% include "headitem.html.twig" with {title: "paypal"|translate, box: "boxpaypal"} %} {% set isSandBox = config.isSandbox() %} {% set sSelfLink = oViewConf.getSslSelfLink()|replace({"&": "&"}) %} {% set sPayPalJS %} window.isSandBox = '{{ isSandBox }}'; window.selfLink = '{{ sSelfLink|raw }}'; window.selfControl = window.selfLink + 'cl=oscpaypalconfig'; {% endset %} {{ script({ add: sPayPalJS.__toString(), priority: 10, dynamic: __oxid_include_dynamic }) }}

{{ translate({ ident: "paypal" }) }} {{ translate({ ident: "OSC_PAYPAL_CONFIG" }) }}

{{ oViewConf.getHiddenSid()|raw }}

{{ translate({ ident: "OSC_PAYPAL_CREDENTIALS" }) }}

{{ translate({ ident: "HELP_OSC_PAYPAL_OPMODE" }) }}

{{ translate({ ident: "HELP_OSC_PAYPAL_CREDENTIALS_PART1" }) }}

{% if not config.getLiveClientId() and not config.getLiveClientSecret() and not config.getLiveWebhookId() %}

{{ translate({ ident: "HELP_OSC_PAYPAL_CREDENTIALS_PART2" }) }}

{{ translate({ ident: "OSC_PAYPAL_LIVE_BUTTON_CREDENTIALS" }) }}

{% endif %}

{{ translate({ ident: "OSC_PAYPAL_LIVE_CREDENTIALS" }) }}

{{ translate({ ident: "HELP_OSC_PAYPAL_CLIENT_ID" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_CLIENT_SECRET" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_MERCHANT_ID" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_WEBHOOK_ID" }) }}
{{ translate({ ident: "OSC_PAYPAL_SPECIAL_PAYMENTS_PUI", suffix:"COLON" }) }} {% if config.isPuiEligibility() %}{{ translate({ ident: "GENERAL_YES" }) }}{% else %}{{ translate({ ident: "GENERAL_NO" }) }}{% endif %}
{{ translate({ ident: "OSC_PAYPAL_SPECIAL_PAYMENTS_ACDC", suffix:"COLON" }) }} {% if config.isAcdcEligibility() %}{{ translate({ ident: "GENERAL_YES" }) }}{% else %}{{ translate({ ident: "GENERAL_NO" }) }} {{ translate({ ident: "OSC_PAYPAL_SPECIAL_PAYMENTS_ACDC_FALLBACK" }) }}{% endif %}
{% if not config.getSandboxClientId() and not config.getSandboxClientSecret() and not config.getSandboxWebhookId() %}

{{ translate({ ident: "HELP_OSC_PAYPAL_CREDENTIALS_PART2" }) }}

{{ translate({ ident: "OSC_PAYPAL_SANDBOX_BUTTON_CREDENTIALS" }) }}

{% endif %}

{{ translate({ ident: "OSC_PAYPAL_SANDBOX_CREDENTIALS" }) }}

{{ translate({ ident: "HELP_OSC_PAYPAL_SANDBOX_CLIENT_ID" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_SANDBOX_CLIENT_SECRET" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_SANDBOX_MERCHANT_ID" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_SANDBOX_WEBHOOK_ID" }) }}
{{ translate({ ident: "OSC_PAYPAL_SPECIAL_PAYMENTS_PUI", suffix:"COLON" }) }} {% if config.isPuiEligibility() %}{{ translate({ ident: "GENERAL_YES" }) }}{% else %}{{ translate({ ident: "GENERAL_NO" }) }}{% endif %}
{{ translate({ ident: "OSC_PAYPAL_SPECIAL_PAYMENTS_ACDC", suffix:"COLON" }) }} {% if config.isAcdcEligibility() %}{{ translate({ ident: "GENERAL_YES" }) }}{% else %}{{ translate({ ident: "GENERAL_NO" }) }} {{ translate({ ident: "OSC_PAYPAL_SPECIAL_PAYMENTS_ACDC_FALLBACK" }) }}{% endif %}

{{ translate({ ident: "HELP_OSC_PAYPAL_BUTTON_PLACEMEMT" }) }}

{{ translate({ ident: "HELP_OSC_SHOW_PAYPAL_PAYLATER_BUTTON" }) }}

{{ translate({ ident: "HELP_OSC_PAYPAL_LOCALES" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_EXPRESS_LOGIN" }) }}
{{ translate({ ident: "OSC_PAYPAL_STANDARD_CAPTURE_TIME_HELP" }) }}
{{ translate({ ident: "OSC_PAYPAL_SCA_CONTINGENCY_HELP" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_HANDLING_NOT_FINISHED_ORDERS" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_STARTTIME_CLEANUP_ORDERS" }) }}
{% if oView.showTransferLegacySettingsButton() %} {{ translate({ ident: "OSC_PAYPAL_BANNER_TRANSFERLEGACYSETTINGS" }) }} {% endif %}

{{ translate({ ident: "OSC_PAYPAL_BANNER_INFOTEXT" }) }}

{{ translate({ ident: "HELP_OSC_PAYPAL_BANNER_SHOP_MODULE_SHOW_ALL" }) }}

{{ translate({ ident: "HELP_OSC_PAYPAL_BANNER_STARTPAGESELECTOR" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_BANNER_CATEGORYPAGESELECTOR" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_BANNER_SEARCHRESULTSPAGESELECTOR" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_BANNER_DETAILSPAGESELECTOR" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_BANNER_CARTPAGESELECTOR" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_BANNER_PAYMENTPAGESELECTOR" }) }}
{{ translate({ ident: "HELP_OSC_PAYPAL_LOCALES" }) }}
{% include "bottomitem.html.twig" %}