Pular para o conteúdo
Documentação do usuário

Worldline

Worldline é uma empresa baseada na França e o quarto maior provedor de pagamentos do mundo.

Configurações no Worldline

Criar um usuário de API

Recomenda-se configurar um usuário de API para criar transações do Odoo para garantir que sua configuração do Worldline permaneça segura mesmo se as credenciais forem comprometidas. Além disso, usuários de API não requerem atualizações de senha frequentes como contas comuns.

Para criar um usuário de API, proceda da seguinte forma:

  1. Log into your Worldline Merchant Portal, click the fa-th (menu) icon, and select Back Office.

  2. Go to Configuration › Users and click on New User.

  3. Configure the following fields:

    1. Specify a UserID, User's name, E-mail address, and Timezone of your choice.

    2. Set the Profile field to Admin.

    3. Enable Special user for API.

Configurar o Worldline para o Odoo

O Worldline agora deve ser configurado para aceitar pagamentos do Odoo.

  1. From your merchant portal, go to Developer › Payment API and click on Generate API key. Copy the API key ID and the Secret API key and save them for later <wordline/odoo-configuration>.

  2. Go to Developer › Webhooks and click on Generate webhook keys. Copy the Webhook ID and the associated Secret webhook key and save them for later <wordline/odoo-configuration>.

  3. Click Add webhook endpoint, enter your Odoo database's URL followed by /payment/worldline/webhook in the Endpoint url field, and Confirm.
    For example: https://example.odoo.com/payment/worldline/webhook.

Configurações no Odoo

Para configurar o Worldline no Odoo:

  1. Navigate to the payment provider Worldline <payment_providers/add_new> and change its state to Enabled.

  2. In the Credentials tab, enter the PSPID of your Worldline account and fill in the API Key, API Secret, Webhook Key, and Webhook Secret with the values you saved at the step Set up Worldline for Odoo <worldline/set-up>.

  3. Configure the rest of the options to your liking.

Veja também: