Money Debited but ticket not booked

What happen if Money Debited but ticket not booked?

The online payment at IRCTC involves complex system of technical and telecommunication networking integration between customer’s Internet bandwidth, IT system of banks and payment gateways and is dependent on internet connectivity across
various constituents.