#WITH_ERROR(#FormError)
#IF( NOT #AreMandatoryFieldsSet OR NOT #IsShopAddressSet )
#IF( NOT #AreMandatoryFieldsSet)

{RequiredShippingAddressFieldsForPayment} {FirstName}, {LastName}, {Street}, {Zipcode}, {City}, {Country}
{MakeMandatoryFormFieldsRequired}
{EditShippingAdressFormFields}

#ENDIF #IF( NOT #IsShopAddressSet)

{RequiredShopAddressFieldsPayment} {FirstName}, {LastName}, {Street}, {Zipcode}, {City}, {Country}
{SetShopAddress}

#ENDIF
#REM #ENDREM #ENDIF #IF(#SetInvisible)

{Notification}

{SetPaymentMethodInvisible}

#REM #ENDREM #ENDIF #IF(#ExperienceProfileIdError)

{WebServiceError}

{ExperienceProfileIdCouldNotBeCreated}

#ExperienceProfileIdErrorMessage

#REM #ENDREM #ENDIF #IF(#OnboardingError)

{MerchantOnboardingError}

#IF(#OnboardingErrorCode EQ "ProviderPayPalAccountError")

{ProviderPayPalAccountErrorMessage}

#ELSE

{MerchantOnboardingErrorMessage}

#ENDIF
#REM #ENDREM #ENDIF #IF(#NoValidSSLCertificateError)

{Error}

{MissingSslCertificate}

#REM #ENDREM #ENDIF #IF(#IsDefaultPaymentMethodAndCanNotBeDisconnected)

{DisablePayPalPlusConnectivityError}

{IsDefaultPaymentMethod}

#ENDIF
#REM #ENDREM
#REM #ENDREM #IF( #IsOnboardEnabled AND (NOT #MerchantClientId OR NOT #ExperienceProfileId) )

{Info0}

{Info1} {Info2}

  1. {Info3} {PayPalPlusAccountActivationURL}
    {Info4}
  2. {Info5} {PayPalMerchantOnboardingLink}
  3. {Info6} {Info7}
#REM #ENDREM #ENDIF #REM #ENDREM #IF(#MerchantClientId AND #ExperienceProfileId)

{Status}:

{PayPalPlusConnected} #IF(#IsOnboardEnabled) {DisablePayPalPlusConnectivity} #ENDIF

#REM #ENDREM
#REM #ENDREM #ELSE #IF(#IsOnboardEnabled)

{Support}

{Support0}

#REM #ENDREM #ENDIF

{Status}:

{PayPalPlusNotConnected} #IF(NOT #IsOnboardEnabled) {ReenablePayPalPlusConnectivity} #ENDIF

#REM #ENDREM
#REM #ENDREM #ENDIF #REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDWITH_ERROR
#REM #ENDREM #IF(#MerchantClientId AND #ExperienceProfileId AND #IsOnboardEnabled) #ENDIF #IF((NOT #MerchantClientId OR NOT #ExperienceProfileId) AND NOT #IsOnboardEnabled) #ENDIF