Pick up the tab

To pay the bill for someone else.

I picked up the tab for the dinner at the restaurant.