A massive power cut has hit large parts of Spain and Portugal. Shops, restaurants, and card payments were plunged into darkness. Card payments are not being accepted due to the power outage. Huge queues at cash points to get some cash for daily stuff. https://www.bbc.com/news/live/c9wpq8xrvd9t This is why keeping some cash at home or wallet is so important. You never know. Too much reliance on digital world can mess you up badly. I hope it will get sorted out quickly.
