In order to determine why you are not getting the details to be stored in the db we would need to examine the confirm page. You say that purchases do not take place but that transactions are correct, what do you mean by this? Please explain how your checkout is working for you now from the perspective of the user going through the checkout. If this part is not working I imagine that some of the other parts are not working as well.