Hello Koucarol41
Sure you can, for the same cost. There is no need to purchase these tickets upfront. That’s indeed a viable alternative!
You can get it from any SBB Travel Office, either at the airport or at a larger station.
There, they can also check if your current purchase was successful or not. Check your bank account. If the purchase failed, the withdrawn money will be sent back to your account.
Kind regards,
Roland