Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs (prestashop): added documentation for new plugin openpix + prestashop #763

Merged
merged 2 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/ecommerce/prestashop/_category.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"label": "Prestashop",
"collapsible": true,
"collapsed": true,
"className": "red",
"link": {
"type": "generated-index",
"title": "Prestashop visão geral"
},
"customProps": {
"description": "Prestashop documentação"
}
}
47 changes: 47 additions & 0 deletions docs/ecommerce/prestashop/getting-the-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: "Integrando a OpenPix na Prestashop"
tags:
- faq
- prestashop
- integration
---
# Integrando a OpenPix na Prestashop

Este documento detalha os passos necessários para conectar sua plataforma de e-commernce, baseado na Prestashop, na OpenPix.

## 1. Instale a OpenPix na sua loja Prestashop

Acesse o link abaixo:

[OpenPix para Prestashop](https://addons.prestashop.com/link_da_openpix_aqui)

![Go to Pretashop addons' market](./__assets__/prestashop-step-0.png "step 1")

## 2. Faça o download do plugin

![Faça o download do plugin](./__assets__/prestashop-step-3.png "step 2")

## 3. Siga todos os passos para download até o final

![Siga todos os passos para download até o final](./__assets__/prestashop-step-4.png "step 3")

## 4. Encontre o arquivo .zip salvo no computador

![Encontre o arquivo .zip salvo no computador](./__assets__/prestashop-step-5.png "step 4")

## 5. Entre como administrador no Back-Office do seu e-commerce

Em seguida, selecione o menu **Módulos > Gerenciador de módulos > Enviar um módulo**.

Siga as instruções da tela que aparecerá.

![As a loggged user open your prestashop back-office](./__assets__/prestashop-step-6.png "step 5")

## 6. Depois da instalação completa, clique em "Configurar"

![As a loggged user open your prestashop back-office](./__assets__/prestashop-step-7.png "step 6")

## 7. Para os próximos passos, seguem as documentações abaixo

- (etapa obrigatória) Como configurar seu [AppID](./plugin-set-up.md)
- Como configurar seu [Webhook](./webhook-set-up.md)
28 changes: 28 additions & 0 deletions docs/ecommerce/prestashop/plugin-set-up.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: "Integrando o AppID na Prestashop"
tags:
- faq
- prestashop
- integration
---
# Como configurar seu AppID na Prestashop

Este documento detalha os passos necessários para conectar sua plataforma Prestashop na OpenPix.

## 1. Copie seu AppID na plataforma da Woovi

Para encontrá-lo, acesse o seguinte menu **API/Plugins**.

Caso ele ainda não exista, clique neste botão **Nova API/Plugin > Tipo API REST > Salvar > AppID**.

![Getting appID in woovi's platform](./__assets__/prestashop-set-up-step-1.png "step 1")

## 2. Após a instalação do módulo, selecione o botão "Configurar"

![Opening plugin's set up page](./__assets__/prestashop-set-up-step-1-pt-br.png "step 2")

## 3. No campo de texto "AppID OpenPix" digite o AppID copiado

Em seguida, aperte o botão "Guardar". Pronto, AppID configurado.

![Saving appID in prestashop](./__assets__/prestashop-set-up-step-2-pt-br.png "step 3")
36 changes: 36 additions & 0 deletions docs/ecommerce/prestashop/webhook-set-up.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: "Integrando o webhook na Prestashop"
tags:
- faq
- prestashop
- integration
---

# Configuração do Webhook

Esta seção demonstra como configurar webhooks com seu e-commerce Prestashop.

## 1. Registre o link do seu webhook na Woovi

Para encontrá-lo, acesso o seguinte menu **API/Plugins**.

Na sequência clique no botão **Novo Webhook**.

A tela abaixo deverá aparecer.

O link a ser cadastrado será parecido com esse:
```
https://seuwebsiteaqui.com.br/woovi/webhook
```

Ele deverá ser digitado no campo **URL**:

![Registering webhook endpoint in woovi](./__assets__/prestashop-webhook-set-up-step-1.png "step 1")

Pronto! Webhook cadastrado.

## 2. Agora, os pedidos já podem ser atualizados pela Woovi

Depois da confirmação do pagamento, o status do pedido será alterado para **Pagamento Aceito**.

![Order status updated in prestashop after webhook endpoint is triggered](./__assets__/prestashop-webhook-set-up-step-2-pt-br.png "step 2")