Make file available for download after payment was received
I've registered for with a payment gateway locoally.
What i want to know is how would i be able to make a file available for download after payment was received.
I want to setup a payment link on my userupdate.php page so that the client can make a payment. Once the payment has gone through it must update the downloadable fields and make available for download.
For the download feature do i have to create a db field? I saw that you can choose a trigger which would probably be something like "after payment success" to make the download available.