This M.Y. answer states that if a beggar asks you for food, you do not investigate, but provide food. I assume that if you give cash so that the beggar can buy food, that is the same.
A few months ago, while I was shopping in my local market, a woman said she was hungry and asked if she could borrow my credit card so that she could buy food. I was astounded, as I never had this proposal before. I refused but gave her a few dollars.
2 concerns at the time:
1 - I was also very concerned about the security risk of her taking my account info or not even returning my card, itself. I'd like to be able to help a hungry person, but, do I need to implicitly trust in G-d and her that she won't abuse my credit card?
2A - She would probably spend far more than I can afford. Wouldn't it be more embarrassing to her if I held onto my card and then when she checked out I say, "Well, I can only pay this much?"
2B - I could tell the beggar in advance how much I can afford, and rely on her to buy only that amount. What if she says that would still leave her hungry?
2C - What if I don't have the time to wait for the beggar to shop for her items, and I don't have the time to buy them?
Is there any requirement under such circumstances to offer a credit card?
Incidentally, when I initially offered the cash, the woman refused and insisted on using my card. Only after I told her that there was no way I would do that, and she should take my money, did she accept the money!