Hello @AhmedAlshemi
Thank you for your post.
If you bought the ticket at a ticket machine and it was printed out, it means it wa actually paid.
What do you mean exactly by "travel card"? Do you have a SwissPass?
For more information you can call our colleagues at the SBB Contact Center (0041 848 44 66 88, CHF 0.08/Min).
Thank you and have a nice day
EleonoraS