Pay in advance

To pay for something before it is received or delivered.

I paid in advance for the frames for my pictures.