#IF(NOT #DELETE) #LOCAL("IsMolliePaymentsAvailable", 0) #LOCAL("IsMolliePaymentsAllowed", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "MolliePayments")) #IF(#IsMolliePaymentsAllowed NE "NotAllowed" AND #IsMolliePaymentsAllowed NE "NotVisible" AND #System.IsMolliePaymentStandard) #SET("IsMolliePaymentsAvailable", 1) #LOCAL("IsMollieAdded", #MollieAdded(#Shop.Object)) #MENU("SystemDefaultPayment") #INCLUDE(#Template) #ENDMENU #REM#ENDREM
{OtherPaymentProviders}
#MENU("AdditionalPaymentTeaser") #INCLUDE(#Template) #ENDMENU#REM#ENDREM
    #LOOP(#PaymentGroups) #IF(#PaymentGroupTileTemplateName NE "INC-PaymentGroupTilePayPal" AND #PaymentGroupTileTemplateName NE "INC-PaymentGroupTileStripe" AND #PaymentGroupTileTemplateName NE "INC-PaymentGroupTileMolliePayments")
  • #INCLUDE(#PaymentGroupTileTemplateName)
  • #ENDIF #ENDLOOP
#ENDLOCAL {UnityShowAllPaymentGroups} #ELSE

{UnityAddPaymentMethod}

#IF(#COUNT(#PaymentGroups) > 6) {UnityShowAllPaymentGroups} #ENDIF #ENDIF #ENDLOCAL #REM #ENDREM #ENDLOCAL #REM #ENDREM #ENDIF
#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
#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