{% assign items = "visa,mastercard,paypal" | split: ',' %}
{% for item in items %} {% endfor %}