The Tur discusses what you are and are not allowed to take from a nonJewish vendor on YT, and that you can't specify an amount or a price.
The nonJew is supposed to just trust you that you're going to show up tomorrow with the money?
Have you ever had to "buy" something on YT or Shabbat, like medicine in a pharmacy?
