I am creating a site where user could buy credits through Paypal gateway and then he could download images.
I have a confusion, I add credits in to MySQL db table while he select desired Buy Credit Package (before checkout) but I want to add them after a successful payment transaction & I don't know how I could achieve it because after paypal process I lost all information related to that user.
Thanks.