#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
#IF( #IsOnboardEnabled AND (NOT #MerchantClientId OR NOT #ExperienceProfileId) )
#REM #ENDREM
#ENDIF
#REM #ENDREM
#IF(#MerchantClientId AND #ExperienceProfileId)
#REM #ENDREM
#ELSE
#IF(#IsOnboardEnabled)
#REM #ENDREM
#ENDIF
#REM #ENDREM
#ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#ENDWITH_ERROR