Breakdown of Сегодня в магазине нельзя платить картой, поэтому я заплачу наличными.
Questions & Answers about Сегодня в магазине нельзя платить картой, поэтому я заплачу наличными.
В магазине means in the shop/store. After в meaning location (in/at), Russian uses the Prepositional case, so магазин → в магазине.
(If it were motion into the store, it would be в магазин with the Accusative.)
Нельзя + infinitive is a very common pattern meaning it’s not allowed / it’s impossible to do something. It’s impersonal: there’s no grammatical subject.
Не можно is generally not used in modern standard Russian for this meaning; native speakers use нельзя (or невозможно for “impossible,” запрещено for “forbidden,” etc.).
After нельзя, Russian typically uses the infinitive to name the action that is not allowed/possible:
нельзя платить = one can’t / it’s not allowed to pay.