1
I am making a Curl and sending the data via Transparent checkout to the pagseguro. I am testing using the sandbox, until then it works well, the problem is that in the field senderEmail only works if I pass a pagseguro email, if I pass a gmail email for example, I get a message saying that the senderEmail is required
That’s how it works:
"senderEmail" => "[email protected]"
So it doesn’t work:
"senderEmail" => "[email protected]"
I searched on their forum and found other people with similar problem and none of them were answered
If it works with a certain email address and another one does not, it is the case of actually contacting the company support and/or checking the documentation - note from the documentation that for unregistered user, the sandbox domain should actually be used: https://devs.pagseguro.uol.com.br/v1/reference and, on the same link, you have the option to access the registered user (specific)
– Bacco
The support is horrible, they don’t even respond. The documentation is another serious problem of them, there for example says that several fields are optional, but in practice they are mandatory. In the case of the customer’s address, the documentation cites all those fields as optional and says that using "shippingAddressRequired" as false, these data are not mandatory (where they are)
– Pedro Silva
In fact, practically everything of this company is suffered there. I don’t usually even take jobs to do that the client wants their services and, if by chance, I put an extra cost in this case and make clear the reason.
– Bacco
So from what I understand, in the test environment I need to use an email from someone registered or else the email provided by them, but in the real environment, I will be able to use an email from someone who is not registered in pagseguro?
– Pedro Silva
So... it’s the impression that the documentation gives, but you never know, right :D - and the worst, tomorrow or later can change. Fortunately recently I was able to take some people out of pay and migrate to the paid market, others to Ielo (now works independently of the marketplace), which is "less worse". As you have read, I will delete my last 2 comments here.
– Bacco
I parachuted into this project, at the end of the project the client asked me to integrate the pagseguro, this is the first time I work with this API, until then everything seemed quiet, the documentation seemed good...this only until I started to integrate, then I was almost a week with a headache related to problems with the integration, but now I just need to solve this problem of the same email
– Pedro Silva
Can you leave the comments friend, I found it useful
– Pedro Silva
so I made a payment a few days ago, it’s working normal, if you’re in the sandbox and it’s obvious that it will only accept the test email. now when taking him out of the sandbox he will accept other emails, because this email is related to sandbox that they will create for your account...
– Willian
Oops, thanks for clearing that up for me, Willian.
– Pedro Silva