USA - Cash a lot more recently. With how easy it is for my bank and stores to track my purchases with card, I've switched to cash as much as possible. Some stores say no cash but even those have never actually refused cash. I assume they're just trying to deter thieves.
The spark for this change for me was Target. I first looked into it cause I hated how they scanned my ID barcode when buying alcohol. Also, they openly track purchases even made without your account by your credit card number. In addition to what I've heard about intensive surveillance in the stores via high resolution cameras, enough to read phone messages, I have sworn off Target entirely.
EDIT: oh and to avoid tip creeping. I absolutely hate when non-tipped places ask for tips. Cash makes it a lot easier to avoid.