+ Reply to Thread
Results 1 to 7 of 7

Thread: PagSeguro

  1. #1
    Junior Member
    Join Date
    Mar 2015
    Posts
    9

    PagSeguro

    Hello,

    I updated my PagSeguro Uol plugin, however when you select the form of payment by pagseguro, the next page is loaded with error below:

    "[HTTP 401] - UNAUTHORIZED Fatal error! Please contact to administrator."

    I'd like some help setting up both the trial and production version of the pagseguro plugin to receive payments from the ad packages.

    Leandro.

  2. #2
    Senior Member
    Join Date
    Jun 2016
    Location
    New York
    Posts
    158

    Talking

    Maybe I can help you, but I'm very sleepy now, tomorrow I'll come back here in the forum, I'm from Brazil too.

    Welcome!

    Depois eu falo com voce ok! estou com muito sono agora, vou durmir um pouco, ate!

  3. #3
    Hello Leandro,

    I can try to help you also if you send ftp access to my PM.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Senior Member
    Join Date
    Jun 2016
    Location
    New York
    Posts
    158

    Hi Leandro,

    Good Morning!

    The Vladimir (Developer) has made an update to this plugin, is attached below, is just a file, replace it.

    This will probably fix this error.

    I'll ask you something (Leandro): Are you using CDN CloudFlare?

    Thank you Viktor! Leave this to me

    Attachment:
    Patch.zip
    Last edited by Ed; May 24, 2017 at 04:35 PM.

  5. #5
    Junior Member
    Join Date
    Mar 2015
    Posts
    9
    Quote Originally Posted by Viktor View Post
    Hello Leandro,

    I can try to help you also if you send ftp access to my PM.

    Hi, Viktor and Ed

    I copied and pasted the file that you attached to the server, but it still did not work, the same error occurs.

    Yes, I use Cloudflare, but I do not let the orange cloud on to avoid problems, mainly in tests.

    Do you have any other solutions?

    Viktor, I am passing the data to you inbox (private), if you can help me also thank you.

    Thank you,

    Leandro.

  6. #6
    Senior Member
    Join Date
    Jun 2016
    Location
    New York
    Posts
    158

    Arrow Parte 1

    Oi Leandro,

    Aqui nao aceita acentos, vai estar tudo sem acentos ok.

    Vamos por etapa:

    - Acesse o endereco: https://sandbox.pagseguro.uol.com.br/

    - Loga com seu E-mail e Senha do PagSeguro

    - Va em Pagamentos via API, ative e clique em Salvar.

    - Va em Vendedor de testes -> Credenciais: copie o E-mail e Token gerados para testes, em seguida va nas Configuracoes do Plugin e cole.
    Obs: Existe (2) dois Tokens, o da SandBox e o Token de Producao, se voce esta usado a sandbox, informe o Token da SandBox.

    - Va em Configuracoes -> Notificacao de transacoes, em Definir URL para receber as notificacoes coloque:
    PHP Code:
    Only registered members can view the code
    - Va em Pagina de redirecionamento -> Pagina fixa de redirecionamento coloque:
    PHP Code:
    Only registered members can view the code
    ou
    PHP Code:
    Only registered members can view the code
    - Va em Configuracoes -> Notificacao de transacoes, em Redirecionamento com o codigo da transacao coloque:
    PHP Code:
    Only registered members can view the code
    - Va em Comprador de testes, copie o E-mail e Senha gerados para que voce possa fazer testes (Simular um Comprador)

    - Veja se o Plugin esta em modo de testes (Test Mode)

    Parte 2 esta logo abaixo, leia
    Last edited by Ed; June 2, 2017 at 01:01 AM.

  7. #7
    Senior Member
    Join Date
    Jun 2016
    Location
    New York
    Posts
    158

    Arrow Parte 2

    - Entre na sua conta do CDN ClaudFlare -> Firewall e adicione os Ips do PagSeguro na lista de permissoes, marque "WhiteList", abaixo os Ips:

    200.147.112.137
    200.147.112.136
    186.234.48.9
    186.234.48.8
    186.234.16.9
    186.234.16.8
    186.234.144.17
    186.234.144.18

    Perceba que a resposta esta dividida em duas partes, Parte-1 (esta logo acima) e Parte-2

    Uma pequena dica, efetue uma revisao para ver se as configuracoes estao todas corretas.

    Forte Abraco

    Ed
    Last edited by Ed; June 2, 2017 at 01:04 AM.

+ Reply to Thread