Ticket Refund Systems with Blockchain

In this POC, we developed Online train ticket portal, which enable user to purchase the ticket using Ether and smart contracts were integrated, which automatically refund specified refund (% of purchase price) in form of Ether to respective passenger, when train departure time is delayed by certain timeframe.
Technology: HTML, CSS, Solidity, Metamask
Problem Statement:There are many of the platform that gives the feature of booking tickets. But there are issues related to the Railways due to certain circumstances like sometimes train do not their regular departure time so that every passenger do get their effective services. And they do not get any compensation due to trains not on their depart time. So there are smart contract to overcome this problem and user get the compensation if train get lates on their certain time limit.
Declaration:The Ethereum Blockchain technology which makes this problem solvable. As the smart contract which is smart enough to tackle this problem is built in Solidity which is ethereum based blockchain programming language. In this case study there are following modules:
1)set the time for the train
2) buy ticket via blockchain
3) depart the train
4) refund the money.

In this case study first of all set the actual time of the train which is actual departure time. Now users can buy ticket and every user with their address is stored in blockchain with the price of the ticket. And finally when the train is departed then the comparison between the actual set-time and the time when time depart and if the difference is more than 60 minutes then user can get 10% of their ticket price.
Technology: Python - Django, Solidity,infura.io