5.1 Maintenance of the system
Before going online a last thing you should learn is the maintenance of the given system.First of all make sure that you have enabled the logs from PayPal settings.php file (the recommended value is true).
It is always good that every couple of days look your download.log file, it will give you a lot of informations.
Keep in mind that nothing over the internet is completely secure.
This is really easy to do, just rename the sub path of the secret path and update the SettingsDownload['file_path'] in the settings.php file.
You should also watch daily your PayPal account to see if everything works well.
Make sure to check your mail daily, because someone could need assistance. For example someone wasn't able to download correctly your digital products and the maximum attempts were reached. In this case you should ask from him his transaction id or at least his PayPal nickname, if you find that indeed has paid you, you should e-mail to him his digital product. Do not EVER give to him the direct secret link of your product. If the product is really big and cannot be sent by email just copy it to a temporary folder (tmp) with a random name. Give to him a temporary link for example : www.mysite.com/tmp/mybook333.zip and make sure that you delete it after some hours.
A last thing you may notice, is that for each transaction a new txt file is generated in the secret folder with your digital products. These files are the counters of each transaction id.
The very old txt files in that folder you can delete them ,if you want, because (this case is very very rare) someone could purchase with the same transaction id of another person's and the counter for that id is already to max so the new buyer could not download it's product.
This could happen if you have thousands of transactions every day. So it is good that the transactions of two months old, or so, can be safely deleted. Remember that even if an old buyer attempts to re-download the product (has saved for some reason the download link) this trick will not work since the invoker was not the page pdthtml.php but himself! To find and delete the old transaction counters txt just use your ftp client going to the secret directory. For more help look at the figure fig:23
fig:23 Ftp Client. Find the last modified date for each counter transaction
Now we are ready to move on, from now on all the tests will be done online. We will modify the '06Demo' at our needs and then upload it with the help of a ftp client to our web hosting provider.