#IF(#LineItemContainer.Payment.PaymentType.Alias EQ "SpreedlyStripe") #LOCAL("SpreedlyStripePaymentIntentsFeatureIsAvailable", 0) #LOOP(#Shop.FeatureValues) #IF((#Feature.Alias EQ "SpreedlyStripePaymentIntents") AND #MaxValue > 0) #SET("SpreedlyStripePaymentIntentsFeatureIsAvailable", 1) #ENDIF #ENDLOOP #IF(#SpreedlyStripePaymentIntentsFeatureIsAvailable == 1) #LOCAL("StripeGroupID", "0") #LOOP(#Shop.PaymentGroups) #IF(#DEFINED(#Alias) AND #Alias EQ "Stripe") #SET("StripeGroupID", #ID) #ENDIF #ENDLOOP #IF(#StripeGroupID NE "0")
{StripeSwitchInfo}
{LinkToStripePaymentGroup}
#ENDIF #ENDLOCAL #ENDIF #ENDLOCAL #ENDIF