#WITH_ERROR(#FormError)
#IF (#FormError)

{InputError}

#IF(#FormErrors.Reason.OBJECT_EXISTS) {ObjectExists} #ELSIF(#FormErrors.Reason.FEATURE_LIMIT_EXCEEDED) {FeatureMaxValueReached} #ELSE {PleaseCorrectErrors} #ENDIF

#ENDIF #IF(#SetInvisible)

{Notification}

{SetPaymentMethodInvisible}

#ENDIF #IF(#NewPaymentMethods)

{NewPaymentMethodsCreated}

#LOOP(#NewPaymentMethods)

#Attributes.Alias

#ENDLOOP
#ENDIF
#IF(#PaymentType.Alias EQ "Ogone")

{Info0}

  1. {Info1} {RegisterURL}
  2. {Info2} {ClickSave}
  3. {Info3} {AdminURL}
  4. {Info4}
  5. {Info5} {ClickSave}
  6. {Info6}
  7. {Info7}
    #Shop.WebServerScriptUrlSSL/?ObjectPath=#Shop.Path[url]&ChangeAction=PaymentBacklinkOgoneAmazonStatus
  8. {Info8}
  9. {Info9} {OgoneSupport}
  10. {Info10}
  11. {Info11} {AddNavElementNow}
{AdminURL} #ELSIF(#PaymentType.Alias EQ "Postfinance") #LOCAL("LocalLanguage", "en" ) #IF(#LanguageID EQ "de" OR #LanguageID EQ "en" OR #LanguageID EQ "fr" OR #LanguageID EQ "it") #SET("LocalLanguage", #LanguageID) #ENDIF

{PostFinanceInfo0}

  1. {PostFinanceInfo1} {PostFinanceRegisterURL}
  2. {PostFinanceInfo2}
  3. {PostFinanceInfo3}
  4. {PostFinanceInfo4} {AddNavElementNow}
{PostFinanceAdminURL} #ENDLOCAL #ENDIF
#IF(#PaymentType.Alias EQ "Ogone") Ogone #ELSIF(#PaymentType.Alias EQ "Postfinance") PostFinance #ENDIF
{RegisterDataInfoTest}
PSPID {MandatoryStar}
{Password} {MandatoryStar}
{Passphrase} {MandatoryStar}

{RegisterDataInfoLive}
PSPID {MandatoryStar}
{Password} {MandatoryStar}
{Passphrase} {MandatoryStar}

{PaymentMethod}

{PaymentSettings}
{Mode}

#IF(#PaymentType.Alias EQ "Postfinance") {NewOgoneMethod}

{NewPostfinanceMethodInfo}

#ELSE {NewOgoneMethod}

{NewOgoneMethodInfo}

#ENDIF #IF( ((#MerchantName AND #MerchantPassword AND #Passphrase) OR (#MerchantNameTest AND #MerchantPasswordTest AND #PassphraseTest)) AND (#Shop.FeatureMaxValue.PaymentMethods > #Shop.FeatureCurrentValue.PaymentMethods))
{NewOgoneMethod} {NewOgoneMethod}
#LOCAL("CNT",0)#LOCAL("CURRENT_GROUP_COUNT",0) #LOOP (#SplitGatewayMethods) #WITH_ERROR(#FormError)#SET("ErrorItemNo",0) #SET("CNT",#CNT+1) #IF (#isGroup) #SET("CURRENT_GROUP_COUNT",#GrpCount+1) #IF((#CURRENT_GROUP_COUNT > (#SplitGatewayMethods_MaxRows - #CNT) ) AND #CNT > 1) #SET("CNT",0)#ENDIF #IF (#CNT > 1)

 #SET("CNT",#CNT+1)

#ENDIF

#Name

#ELSE

#Name

#ENDIF #ENDWITH_ERROR #ENDLOOP #ENDLOCAL
#ENDLOCAL
#ENDIF
{SelectMethods}
#LOOP(#Logos) #IF(#PaymentLogo.Image)
#ENDIF #ENDLOOP

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

{RelatedTopics}

#ENDIF