Articles related to web development
My previous article which explains how one can easily get the URL / download link posted by vendor without purchasing it.
http://www.aliroman.com/article/a-bug-in-2checout-passback-variables-26-1.html
It is true that if a vendor defines an approved URL allows access to the
downloadable product/service they are selling, and the vendor takes no further
security precautions, someone could download the product/service by including
the ‘demo=Y’ parameter.
It is not recommended to provide a downloadable product/service to a customer
immediately after a sale completes by means of a return to the Approved URL.
It is recommended to allow the fraud review process to complete before
providing your customer with the product/service.
We realize that some vendors may not wish to wait for the fraud review process
to complete before providing their customer with a downloadable
product/service. For such vendors, the MD5 hash is provided to help verify
the authenticity of a sale. We intentionally break the hash code that is
passed back if the ‘demo=Y’ parameter is used. You can compare the value of
the hash we pass back with the value of what the hash should be (this needs to
be calculated on your end). This will allow you to determine whether or not to
provide the customer with the downloadable product/service. It should be
noted that when using this method to provide a downloadable product/service
immediately, you do run the risk of having your product/service stolen by
someone placing a fraudulent order with a stolen credit card.
For full details on using the MD5 hash please refer to the following Help Desk
article:
https://support.2co.com/deskpro/faq.php?do=article&articleid=336
If you choose to provide a downloadable product/service immediately after a
sale using the Approved URL, and do not check the MD5 key which is passed to
the Approved URL to verify the validity of the sale before providing a
customer with a product, then you are accepting the risk that your product may
be taken without being paid for by someone who includes the ‘demo=Y’ parameter.
Leave a reply