Hello @rodomape
I recommend you to delete the stored payment method and then add it again. If this doesn't work, try the purchase with another means of payment.
You have several payment options.
Alternatively, you can buy your Half-Fare Card directly at a staffed SBB counter.
I wish you all the best.
Greetings
DafineM