@register.filter
def order_payment_methods(order):
    """
    Returns a list of payment method labels for an order.

    Usage::

      {{ order|order_payment_methods|join:", " }}

    """
    return (config_get_group('PAYMENT_%s' % p.payment).LABEL.value
             for p in order.payments.all())
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/satchmo_store/shop/templatetags/satchmo_order.py/order_payment_methods/original