I'm designing a website and ads where the user pays for advertisements. When the user selects the ad category (form based on steps) and populates all the data, he / she will arrive at the last step where the plan of that advertisement will be selected. But I do not know how to connect things, I do not know how to do the validation of the purchase and the ad or if I saved before in the bank and then the user makes the payment. I also do not know how to handle two form tags, one from my form and another from PagSeguro. Does anyone have a light?