Our suggestion in this regard is to implement one of the ecommerce systems we support which natively supports digital downloads, in conjunction with a payment module for the selected system.
You will then be able to sell your digital content using your ecommerce system and accept payments through PayFast.
These links may be of interest in this regard: