#WITH_ERROR(#FormError)
#IF(#FormError)
#IF(#FormErrors.Form.SagePayTestSettings)

{TestResult}

#LOOP(#FormErrors.Form.SagePayTestSettings.Errors) #IF(#Name EQ "ConnectionError")

{ConnectionError}

#ELSIF(#Name EQ "TxTypeNotSupported") #LOCAL("MsgTransType", "") #IF(#Reason EQ "PAYMENT")#SET("MsgTransType", "{Capture}")#ELSIF(#Reason EQ "AUTHENTICATE")#SET("MsgTransType", "{Authorization}")#ELSIF(#Reason EQ "DEFERRED")#SET("MsgTransType", "{TTDeferred}")#ENDIF

{TxTypeNotSupported}

#ENDLOCAL #ELSIF(#Name EQ "InvalidIPaddress")

{InvalidIPaddress}

#ELSIF(#Name EQ "InvalidVendorName")

{InvalidVendorName}

#ELSIF(#Name EQ "CurrencyNotInProfile")

{CurrencyNotInProfile}

    #LOOP(#CurrencyNotInProfile)
  • #Currency
  • #ENDLOOP

      #ELSIF(#Name EQ "OtherFailure")

      #Reason

      #ELSE

      #Reason

      #ENDIF #ENDLOOP #ELSE

      {InputError}

      {PleaseCorrectErrors}

      #ENDIF
#ENDIF #IF(#TestSuccess)

{TestResult}

{Success}

#ENDIF

{Info0}

  1. {Info1} {RegisterURL}
  2. {Info2} {ClickSave}
  3. {GotoAccount}
  4. #IF(#System.SagePay_AccountIP){InfoIP}#IF(#System.SagePay_AccountSubnetMask) {InfoSubnetMask}#ENDIF#ELSE {InfoNoIP}#ENDIF
  5. {Info3}
  6. {Info4}
  7. {Info5}
  8. {Info6}
  9. {Info7}
  10. {Info8}
{AdminURL}
{RegisterDataInfo}
Vendor Name {MandatoryStar}

{PaymentSettings}
{TransactionType}
{Capture}:{BubbleHelpTransactionTypeCapture}
{TTDeferred}:{BubbleHelpTransactionTypeAuthenticate}
{Authorization}:{BubbleHelpTransactionTypeAuthorize}
{AllowGiftAid}
{Mode} #IF(#UseSimulator) Simulator mode #ELSE #ENDIF

{SelectMethods}
#LOOP(#FUNCTION("ShopPaymentLogos", #Shop.Object, "SagePay")) #IF(#Image)
#ENDIF #ENDLOOP
#ENDWITH_ERROR {MandatoryFields} #IF(#FUNCTION("MENU_COUNT", "RelatedTopic") > 0)

{RelatedTopics}

#ENDIF