Skip to content

Commit

Permalink
Merge pull request #2 from AgroMart/add-cadastrar-plugin
Browse files Browse the repository at this point in the history
Adiciona Tutorial de Pagamento
  • Loading branch information
giovannabbottino committed Jun 11, 2023
2 parents be5fa70 + 035b450 commit 5d3be82
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions _docs/pagamento/cadastrar/customizado.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,28 @@ nav_order: 1
Cadastrar Customizado
{: .fs-9}

<!--Descrição-->
Como cadastrar outra ferramenta de pagamento além de PayPal, PagSeguro e Mercado Pago
{: .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 `adicionar um novo Gateway`.

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

2.1. Você irá precisar do nome da ferramenta, de um token, uma url e um método para esse url oferecido pelo proprio gateway.

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

3. Procure pela documentação de API da ferramenta que deseja usar. Em nosso exemplo vamos usar a [Stripe](https://stripe.com/docs/api).

4. Procure por link de pagamento, checkout pro, ou similares. Em nosso exemplo [payment_links](https://stripe.com/docs/api/payment_links/payment_links/retrieve).

5. Preencha o formulario com as informações corretas.

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

Binary file added assets/plugin/cadastrar/pagamento_customizado.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.

0 comments on commit 5d3be82

Please sign in to comment.