When I book my customer, do they have to pay right away or can they pay right before the stay or after?

Does my customer have to pay when the sitting job is booked? Can they pay the day they drop off their dog or after?