- check the error and concern send by sir Ian, the OR in the generated text file is incorrect, check if the script is extracting the correct data and if the data in MySQL is the same as the sent receipt