Make the adhesion to the plan pagseguro preapproval

Asked

Viewed 997 times

3

Currently, I am trying to integrate recurring payments with pagseguro. Currently, the API returns the ['preApprovalRequest'] ['code']. The problem is that I don’t know where or what I do with this code to redirect the add user to the plan and redirect them to pay secure so they can pay. With one-time payments, it’s

https://sandbox.pagseguro.uol.com.br/v2/checkout/payment.html?code=%s

But with preapproval 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 I can redirect the user also so that they can pay?

1 answer

3


Browser other questions tagged

You are not signed in. Login or sign up in order to post.