Hello, first of all, please confirm whether it is the problem of the bank or the website itself when you pay. If the bank pays, it needs to install the relevant certificate of online banking. You can download it in official website. If it is the problem of the webpage itself, it may be that you have not installed the root certificate of the website 12306, and there is a prompt in the middle of the homepage.
You can try it first. hope this helps