#BLOCK("WITH_FORM_ERROR",#FormError)
#IF(#FormError)

{InputError}

#IF(#FormErrors.Reason.CanNotDeleteDefault) {CanNotDeleteDefault} #ELSIF(#FormErrors.Reason.SETTINGS_INCOMPLETE) {PaymentSettingsIncomplete} #ELSE {PleaseCorrectErrors} #ENDIF

#ENDIF #IF(#NoSecondInstanceAllowed)

{Notification}

{NoSecondInstanceAllowed}
#ENDIF #IF(#DELETE)

{AcceptAction}

#LOOP(#DeleteObjects) #ENDLOOP #ENDIF #IF(NOT #DELETE) #IF(#MaxFeatureValuePaymentMethodsReached)

{Notification}

{UnityFeatureMaxValueReached}
{FeatureMaxValuePaymentMethods} #Shop.FeatureMaxValue.PaymentMethods #INCLUDE("FeaturePromotion")
#ENDIF

{AddPaymentMethod}

#IF(#COUNT(#PaymentGroups) > 6) {ShowAllPaymentGroups} #ENDIF
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions")
#ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #REM #ENDREM #ELSE #REM #ENDREM #LOOP( #PaymentMethods ) #ENDLOOP #ENDIF
{Provider} {PaymentMethod} {NameInShop} {IsDefault} {Position}
#IF(#PaymentType.Icon) #ProviderName #ELSE #ENDIF #ProviderName #PaymentMethodName #NameOrAlias #LOCAL("IsNotVisibleStatus",0) #IF(NOT #IsActivated) #SET("IsNotVisibleStatus",1) #ENDIF #SNIPPET("INC-Status", "IsNotVisible",#IsNotVisibleStatus) #ENDLOCAL #Position
#IF(#PaymentType.Icon) #ProviderName #ELSE #ENDIF #ProviderName #PaymentMethodName #IF(NOT #UsableAtStorefront) {DoComplete} #ENDIF #IF(#COUNT(#CustomerGroups)) #ENDIF #IF(#Region) {RegionLimited} #ENDIF #NameOrAlias #IF(#IsDefault OR #CanBeDefaultPaymentMethod) #IF(#IsDefault AND NOT #CanBeDefaultPaymentMethod) #ENDIF #ELSE #ENDIF #LOCAL("IsNotVisibleStatus",0) #IF(NOT #IsActivated) #SET("IsNotVisibleStatus",1) #ENDIF #SNIPPET("INC-Status", "IsNotVisible",#IsNotVisibleStatus) #ENDLOCAL
#IF(#DELETE) #ELSE #ENDIF
#ENDBLOCK