Here is a goal: how do you post pay a pizza delivery order?

Which way makes more sense to accomplish this goal?

Select from: (1). give the company your card information before they deliver your pizza. (2). give the company the cash when they deliver your pizza.
(2).