#LOCAL("AltLanguageID", #INPUT.AltLanguageID) #IF(#INPUT.AltLanguageID AND #INPUT.LanguageID)#IF(#INPUT.AltLanguageID EQ #INPUT.LanguageID)#SET("AltLanguageID", 0)#ENDIF#ENDIF #LOOP(#Shop.Languages) #IF(NOT #AltLanguageID AND #Code2 NE #INPUT.Language) #SET("AltLanguageID", #LanguageID) #ENDIF #ENDLOOP
#IF(#FUNCTION("MENU_COUNT", "Tab-General-InfoMessage")) #MENU("Tab-General-InfoMessage") #INCLUDE(#Template) #ENDMENU #ENDIF #IF(#FormError)

{InputError}

#IF(#FormErrors.Reason.CanNotDeleteDefault) {CanNotDeleteDefault} #ELSIF(#FormErrors.Reason.DEACTIVATE_DEFAULT) {DeactivateDefault} #ELSIF(#FormErrors.Reason.HIREPURCHASE_NOT_SUPPORTED) {HirepurchaseNotSupported} #ELSIF(#OBJECT_EXISTS) {ObjectExists} #ELSIF(#FormErrors.Reason.SETTINGS_INCOMPLETE) {PaymentSettingsIncomplete}
{DoComplete} #ELSIF(#FormErrors.Reason.MaxPriceValueToSmall) {PriceLimitMaxPriceValueToSmall} #ELSIF(#FormErrors.Reason.STRING_TOO_LONG) {StringTooLong} #ELSE {PleaseCorrectErrors} #ENDIF

#ELSIF(NOT #UsableAtStorefront)

{Attention}

{PaymentSettingsIncomplete}
{DoComplete}

#ENDIF #WITH_ERROR(#FormError) #IF( #CanBeDefaultPaymentMethod ) #ELSE #ENDIF #LOCAL("DisplayFeatureHirePurchase", #FeaturedActionAvailable(#Shop.Object, #UNDEF, "HirePurchase")) #IF(#DisplayFeatureHirePurchase NE "NotVisible") #IF(#PaymentType.IsHirePurchaseSupported) #ELSE #ENDIF #ENDIF #ENDLOCAL
{InternalID} *
{Type} #IF(#PaymentType.Name)#PaymentType.Name#ELSE#PaymentType.Alias#ENDIF
{VisibleOnWebsite}
{IsDefault}
{IsDefault}
{HirePurchaseEnabled}
{HirePurchaseEnabled} ({HirepurchaseWrongCalculationModel})

#LOOP(#Shop.MinOrderAmounts) #BLOCK("WITH_FORM_ERROR", #FormError) #ENDLOCAL #ENDBLOCK #ENDLOOP
{AvailibilityRestriction} {MinAmount}  {BubbleHelpMinAmount} #IF(#Shop.FeatureMaxValue.MinOrderAmount)

{HelpMinOrderAmount}
{SetMinOrderAmount} #ENDIF
{MaxAmount}  {BubbleHelpMaxAmount}
#LOCAL("MinPriceValue", #FUNCTION("PRICELIMIT","MinPriceValue", #Object, #CurrencyID)) #Symbol #IF( #DEFINED(#MinPriceValue) AND #MinPriceValue NLT #Value AND NOT #FormErrors.Reason.MinPriceValueNeg)
{WarningMinOrderAmount} #ENDIF
#LOCAL("MaxPriceValue", #FUNCTION("PRICELIMIT","MaxPriceValue", #Object, #CurrencyID)) #Symbol #ENDLOCAL
#IF(#Shop.FeatureMaxValue.CashDiscount OR #CashDiscountMode!=0) #ENDIF

{DiscoutOrFee}   %
#LOOP(#Shop.Currencies) #BLOCK("WITH_FORM_ERROR", #FormError) #LOCAL("PriceValue", #FUNCTION("DISCOUNT", #Object, #CurrencyID)) #Symbol
#ENDLOCAL #ENDBLOCK #ENDLOOP

#REM#ENDREM #IF(#Shop.FeatureMaxValue.Regions AND #PaymentType.CanRegions) #LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "Regions"))#IF(#DisplayFeature NE "NotVisible")
{RegionsForMethod}  #LOCAL("MethodRegionID",#Region.ID) #ENDLOCAL
#ENDIF#ENDLOCAL #ELSIF((#PaymentType.CanRegions AND (#Shop.FeatureMaxValue.Regions == 0))OR(NOT(#Shop.FeatureMaxValue.Regions)AND(#Shop.FeatureMaxValue.Regions == 0))) #LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "Regions"))#IF(#DisplayFeature NE "NotVisible")
 
{RegionsForMethod} 
{NoFeature}
#ENDIF#ENDLOCAL #ENDIF #IF(#AltLanguageID) #ENDIF #LOCAL("MAX_LENGTH_PAYMENTMETHOD_NAME", #System.Child.Classes.Child.PaymentMethod.Child.Attributes.Child.Name.Length) #IF(#AltLanguageID)#WITH_LANGUAGE(#AltLanguageID)#LOCAL("ErrorItemNo",1) #ENDLOCAL#ENDWITH_LANGUAGE#ENDIF #ENDLOCAL #IF(#AltLanguageID) #ENDIF

{Translation}
{NameInShop}

#SNIPPET("INC-WYSIWYG", "Name,InputName,Value,Head", "NoteNative", "Note", #Note, "{Description}") #IF(#AltLanguageID)#WITH_LANGUAGE(#AltLanguageID)#LOCAL("ErrorItemNo",1) #SNIPPET("INC-WYSIWYG", "Name,InputName,Value,TranslationHead", "NoteTranslation", "Note", #Note, "{Description}") #ENDLOCAL#ENDWITH_LANGUAGE#ENDIF

{ShowLogo} 
#IF(#FUNCTION("MENU_COUNT", "RelatedTopic") > 0)

{RelatedTopics}

#ENDIF #ENDWITH_ERROR
#ENDLOCAL