#LOCAL(CanSandBox, 0) #LOCAL(OnBoardCompleted, 0) #LOCAL(AccountSupportsPUI, 0) #LOCAL(PrimaryEmailConfirmed, 0) #LOCAL(PaymentsReceivable, 0) #LOCAL(CountrySupportsPayLater, 0) #REM #ENDREM #IF( #Site.Address.CountryID == 840 OR #Site.Address.CountryID == 250 OR #Site.Address.CountryID == 276 OR #Site.Address.CountryID == 380 OR #Site.Address.CountryID == 724 OR #Site.Address.CountryID == 826 OR #Site.Address.CountryID == 36 ) #SET("CountrySupportsPayLater", 1) #ENDIF #IF( #MerchantInfoJSON.primary_email_confirmed ) #SET("PrimaryEmailConfirmed", 1) #ENDIF #IF( #MerchantInfoJSON.payments_receivable ) #SET("PaymentsReceivable", 1) #ENDIF #IF( #PaymentType AND #PaymentType.PartnerMerchantID_SandBox AND #PaymentType.PartnerClientID_SandBox AND #PaymentType.PartnerClientSecret_SandBox ) #SET("CanSandBox", 1) #ENDIF #IF( #ClientID AND #ClientSecret ) #SET("OnBoardCompleted", 1) #ENDIF