def get_selected_payment_method(request):
    customer = customer_utils.get_customer(request)
    if customer and customer.selected_payment_method:
        return customer.selected_payment_method
    else:
        return get_default_payment_method(request)
Returns the selected payment method for given request. This could either
dataset/ETHPy150Open diefenbach/django-lfs/lfs/payment/utils.py/get_selected_payment_method