PagSeguro Integration

1

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?

    
asked by anonymous 24.10.2017 / 01:47

1 answer

0

The ideal thing is to always save to the database, along with the user's account to prevent it from having to fill out the form again if it makes an error, or fails to pay and needs to generate new tickets in the future. p>

For the payment part, you have to use the Pagseguro APIs, and all information you can find in the following links:

link

and

link

There's also a forum to ask specific questions about their API on the site:

link

I believe these links will help you.

    
24.10.2017 / 04:09