This script allows user registration only for people with valid PayTM Transaction ID. While registration the PayTM transaction ID and payment amount is matched to allow user registration.
When a transaction is made both the sender and the receiver receives an email which has the same transaction id. This script takes the transaction id from the participant and verifies it from the receiver's inbox. If the amount and transaction id matches the user's name and registration number(just another sample field) gets registered in the database.
- Gmail credentials
- Database details
- The amount that the user must have paid to register
- mysql dump has should be imported first
- then the script should be edited with databse and gmail credentials
- gmail account should be set to allow access to less secure apps through this link : https://myaccount.google.com/lesssecureapps