Can someone show me an example of how to do this? For instance I need to know where to put the mysql queries if the payment is successfull.