I am building an app where I have a form for information and then a form for payment. I was wondering if I can store the information from the first form and then submit it to the database once the payment has been confirmed?
You might have to rethink your strategy. Cleanest would be to use a single form if you want to process the data from both forms in the same POST. You could just open the form at the top of the page and close it at the bottom of the page (or however close you can get it to encapsulate both sections of form fields).
These concepts are a bit hard to analyze and discuss without examples. If you have a page we can reference, or some sample code as to how you built the page with the two forms, that would let us provide more specific answers. :)