{UnityAddPaymentMethod}

{PoweredByMolliePaymentsLogo}

#LOCAL("IsMolliePaymentsFirst", 0) #LOOP( #PaymentMethods ) #IF(#Class.Alias EQ "PaymentMethodMolliePayments") #IF(#IsMollieAdded AND #UsableAtStorefront AND NOT #IsMolliePaymentsFirst)
#IF(#NewPaymentMethods)

#IF(#COUNT(#NewPaymentMethods) NEQ 1){NewPaymentMethodsCreatedSingular}#ELSE#SPACE[0]{NewPaymentMethodsCreatedPlural}#ENDIF

#LOOP(#NewPaymentMethods)

#Attributes.Alias

#ENDLOOP

{SetNewPaymentsMethodsVisible}

#ENDIF

{AddMoreMolliePaymentMethods}

#INCLUDE("MollieMultiPaymentsDialogScript")
#SET("IsMolliePaymentsFirst", 1) #ELSIF(NOT #UsableAtStorefront) #REM#ENDREM

{MolliePaymentNotAlreadyCompletedHeadline}

{CompleteMolliePayments} {SettingsPageMolliePaymentsLink}

#ENDIF #ENDIF #ENDLOOP #ENDLOCAL #REM #ENDREM #IF(NOT #IsMollieAdded)
#LOCAL("MolliePaymentsID", 0) #LOCAL("MollieDisplayIconsAlways", #MollieDisplayIconsAlways(#System.Object)) #LOCAL("MollieDisplayLocalizedIcons", #MollieDisplayLocalizedIcons(#Shop.Object)) #LOOP(#System.PaymentTypes) #IF(#Alias EQ "MolliePayments") #SET("MolliePaymentsID", #ID) #ENDIF #ENDLOOP

{PaymentMethodStandardMollie}

{PaymentMethodStandardMollieIcons}:
#LOOP(#MollieDisplayIconsAlways) #ENDLOOP #LOOP(#MollieDisplayLocalizedIcons) #ENDLOOP
{ConnectWithMollieButton} #REM#ENDREM #LOCAL("HrefLanguage", "uk") #IF(#Language EQ "en" OR #Language EQ "de" OR #Language EQ "fr" OR #Language EQ "nl") #SET("HrefLanguage", #Language) #ENDIF {CreateMollieAccount} #REM#ENDREM #ENDLOCAL #REM#ENDREM
#ENDLOCAL #ENDLOCAL #REM #ENDREM #ENDLOCAL #REM #ENDREM
#ENDIF