#IF (#FormError)
{InputError}
#IF(#FormErrors.Reason.OBJECT_EXISTS)
{ObjectExists}
#ELSIF(#FormErrors.Reason.FEATURE_LIMIT_EXCEEDED)
{FeatureMaxValueReached}
#ELSIF(#FormErrors.Reason.NOTHING_SELECTED)
{NewPaymentMethodNothingSelected}
#ELSE
{PleaseCorrectErrors}
#ENDIF
#ENDIF
#IF(#SetInvisible)
{Notification}
{SetPaymentMethodInvisible}
#ENDIF
#IF(#NewPaymentMethods)
#ENDIF
#INCLUDE("INC-SetupGuide")
#IF(#PaymentType.Alias EQ "Ogone")

#ELSIF(#PaymentType.Alias EQ "Postfinance")

#ELSIF(#PaymentType.Alias EQ "Acceptance")

#ENDIF
#IF(#PaymentType.Alias EQ "Postfinance")
{NewOgoneMethod}
{NewPostfinanceMethodInfo}
#ELSIF (#PaymentType.Alias EQ "Acceptance")
{NewOgoneMethod}
{NewAcceptanceMethodInfo}
#ELSE
{NewOgoneMethod}
{NewOgoneMethodInfo}
#ENDIF
#IF( ((#MerchantName AND #MerchantPassword AND #Passphrase) OR (#MerchantNameTest AND #MerchantPasswordTest AND #PassphraseTest)) AND (#Shop.FeatureMaxValue.PaymentMethods > #Shop.FeatureCurrentValue.PaymentMethods))
#ENDIF
#ENDWITH_ERROR
#IF(#FUNCTION("MENU_COUNT", "RelatedTopic") > 0)