Currently, I'm trying to integrate recurring payments with pagseguro. Currently, the API returns the ['preApprovalRequest'] ['code']. The problem is that I do not know where or what I do with this code to redirect the add the user to the plan and redirect them to pagseguro so they can pay. With single payments, it's
https://sandbox.pagseguro.uol.com.br/v2/checkout/payment.html?code=%s
But with preapproval the documentation does not say what you do once you get the answer from
https://ws.sandbox.pagseguro.uol.com.br/pre-approvals/request?email=%s&token=%s
This returns
<? Xml version = "1.0" codificação = "ISO-8859-1" standalone = "yes"?> <PreApprovalRequest> <code> 123123123EAF123123123 </ code> <date> 2017-03-02T18: 29: 53-03: 00 </ date> </ preApprovalRequest>
With this ['code'] how or where can I redirect the user so that they can pay?