Carry a modest cash backup separately from your main wallet
Some small vendors or charging services may have limited payment options. Carry only the cash you expect to need and keep a backup card separately. Confirm payment before ordering rather than assuming a logo guarantees acceptance of your card.
Image credit: LERK · CC BY-SA 4.0 · resized