#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(#NoValidSSLCertificateError)

{Error}

{MissingSslCertificate}

#REM #ENDREM #ENDIF #IF(#OnboardingError OR #ExperienceProfileIdError OR #GetMerchantStatusError)

{WebServiceError}

{PayPalPlusNotConnectedResult}

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

{DisablePayPalPlusConnectivityError}

{IsDefaultPaymentMethod}

#ENDIF
#REM #ENDREM
#REM #ENDREM

{Info0}

  1. {Info1} {PayPalMerchantOnboardingLink}
  2. {Info2}

{Info3}

#REM #ENDREM #IF(#MerchantClientId AND #ExperienceProfileId AND #HasCollectedMerchantStatus) #IF(NOT #HasMerchantStatusConflicts AND (NOT #IsActivePayPal OR NOT #IsActiveDirectDebit OR NOT #IsActiveCreditCard OR NOT #IsActiveInvoice))

{Notification}

{InfoIncompletePayment}

#REM #ENDREM #ENDIF

{Details}

#REM #ENDREM
#REM #ENDREM
{BubbleHelpPayPalRatenkaufBanner}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM

{Status}

#REM #ENDREM
#REM #ENDREM #IF(#HasMerchantStatusConflicts)

{PayPalPlusNotConnected} {DisablePayPalPlusConnectivity}

#REM #ENDREM
#REM #ENDREM

{ResolveConflicts}

#REM #ENDREM
#REM #ENDREM #LOOP(#GetMerchantStatusConflicts) #IF(#Conflict EQ "PrimaryEmailConfirmed")

{PrimaryEmailNotConfirmed}
{PrimaryEmailNotConfirmedSuggestion} {ContactPayPalSupport}

#REM #ENDREM
#REM #ENDREM #ELSIF(#Conflict EQ "PaymentsReceivable")

{AccountNotEnabled}
{AccountNotEnabledSuggestion} {ContactPayPalSupport}

#REM #ENDREM
#REM #ENDREM #ENDIF #ENDLOOP #ELSE

#IF(#DEFINED(#GetMerchantStatus.PrimaryEmail)) {PayPalPlusConnectedVia} #GetMerchantStatus.PrimaryEmail #ELSE {PayPalPlusConnected} #ENDIF {DisablePayPalPlusConnectivity}

{PaymentAvailabilityInfo}

#IF(#IsActivePayPal)

{Paypal}

#ELSE

{Paypal}

#ENDIF #IF(#IsActiveDirectDebit)

{DirectDebit}

#ELSE

{DirectDebit}

#ENDIF #IF(#IsActiveCreditCard)

{CreditCard}

#ELSE

{CreditCard}

#ENDIF #IF(#IsActiveInvoice)

{Invoice}

#ELSE

{Invoice}

#ENDIF
#REM #ENDREM
#REM #ENDREM #ENDIF
#REM #ENDREM #ENDIF #REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDWITH_ERROR
#REM #ENDREM #IF(#MerchantClientId AND #ExperienceProfileId AND #HasCollectedMerchantStatus) #ENDIF