Skip to content

Commit

Permalink
adiciona pagamentos padrao
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannabbottino committed Jun 11, 2023
1 parent 35a7b27 commit be5fa70
Show file tree
Hide file tree
Showing 12 changed files with 86 additions and 8 deletions.
18 changes: 16 additions & 2 deletions _docs/pagamento/cadastrar/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,21 @@ nav_order: 1
Cadastrar Gateway
{: .fs-9}

<!--Descrição-->
Como cadastrar uma ferramenta de pagamento
{: .fs-6 .fw-300 }

## TODO
## Padrão

Por padrão a extensão de pagamento oferece conexão com as plataformas Mercado Pago, PagSeguro e PayPal. Essa extensão também oferece a customização de uma nova conexão com outras plataformas de pagamento.

## Passo a passo

1. Entre na pagina inicial da extensão.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/selecionar_plugin.png" class="img-fluid" />

2. Selecione qual plataforma deseja configurar a conexão.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/selecionar_plataforma.png" class="img-fluid" />

3. Siga o tutorial adequado.
28 changes: 26 additions & 2 deletions _docs/pagamento/cadastrar/mercadopago.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,31 @@ nav_order: 2
Cadastrar Mercado Pago
{: .fs-9}

<!--Descrição-->
Como cadastrar o Mercado Pago como ferramenta de pagamento
{: .fs-6 .fw-300 }

## TODO
## Passo a passo

1. Entre na pagina inicial da extensão.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/selecionar_plugin.png" class="img-fluid" />

2. Selecione o Mercado Pago para configurar a conexão.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/selecionar_plataforma.png" class="img-fluid" />

2.1. Você irá precisar de um Token, um Client ID e um Client Secret oferecidos pelo proprio Mercado Pago.

3. Faça login em sua conta do [Mercado Pago](https://www.mercadopago.com.br/developers/panel/app) para desenvolvedores e acesse suas integrações.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/mercado_pago_integracoes.png" class="img-fluid" />

4. Crie uma nova integração para o Agromart.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/mercado_pago_criar.png" class="img-fluid" />

5. Vá em credenciais de produção e gere suas credenciais.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/mercado_pago_menu.png" class="img-fluid" />

6. Utilize o Access Token para o Token, Client ID para o Client ID e Client Secret para o Client Secret.
22 changes: 20 additions & 2 deletions _docs/pagamento/cadastrar/pagseguro.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,25 @@ nav_order: 3
Cadastrar PagSeguro
{: .fs-9}

<!--Descrição-->
Como cadastrar o PagSeguro como ferramenta de pagamento
{: .fs-6 .fw-300 }

## TODO
## Passo a passo

1. Entre na pagina inicial da extensão.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/selecionar_plugin.png" class="img-fluid" />

2. Selecione o PagSeguro para configurar a conexão.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/selecionar_plataforma.png" class="img-fluid" />

2.1. Você irá precisar de um Token oferecido pelo proprio PagSeguro.

3. Faça login em sua conta do [PagSeguro](https://m.pagseguro.uol.com.br/preferencias/integracoes.jhtml) e acesse suas integrações.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/pagseguro_integracoes.png" class="img-fluid" />

4. Crie uma nova integração para o Agromart ao clicar em Gerar Token

5. Utilize esse Token para o Token e seu email para o campo de email.
26 changes: 24 additions & 2 deletions _docs/pagamento/cadastrar/paypal.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,29 @@ nav_order: 4
Cadastrar PayPal
{: .fs-9}

<!--Descrição-->
Como cadastrar o PayPal como ferramenta de pagamento
{: .fs-6 .fw-300 }

## TODO
## Passo a passo

1. Entre na pagina inicial da extensão.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/selecionar_plugin.png" class="img-fluid" />

2. Selecione o PayPal para configurar a conexão.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/selecionar_plataforma.png" class="img-fluid" />

2.1. Você irá precisar de um Client ID e Secret oferecido pelo proprio PayPal.

3. Faça login em sua conta do [PayPal](https://developer.paypal.com/dashboard/applications/live) para desenvolvedores e acesse suas API credentials.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/patpal_home.png" class="img-fluid" />

4. Certifique-se que está no modo `live` e não no `Sandbox`.

5. Utilize o Client ID para o Client ID e Client Secret para o Client Secret.

6. Se estiver incorreto irá aparecer a mensagem de erro. Basta colocar as credenciais corretas.

<img src="{{ site.baseurl }}/assets/plugin/cadastrar/paypal_validacao.png" class="img-fluid" />
Binary file added assets/plugin/cadastrar/mercado_pago_criar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/plugin/cadastrar/mercado_pago_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/plugin/cadastrar/paypal_home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/plugin/cadastrar/paypal_validacao.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/plugin/cadastrar/selecionar_plataforma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/plugin/cadastrar/selecionar_plugin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit be5fa70

Please sign in to comment.