Developers

Connect Pagar.me

Pagar.me connects with your account keys. Dooplo checks the key when you save.

  1. Copy the keys in Pagar.me

    In the Pagar.me Dashboard, open Development > Keys. Copy the secret key (starts with sk_) and the public key (starts with pk_). Both must be of the same mode: test or live.

  2. Allow the checkout domain

    Still in the Dashboard, register your checkout domain. Without it, card payments are not enabled.

  3. Paste the keys in the panel

    In Dooplo, open Payment accounts, click Configure payment account (or New, if you already have a payment account) and Connect on the Pagar.me card. Paste the keys in the Secret Key and Public Key fields and click Save & connect.

    Pagar.me form in the panel with the secret key and public key fields
  4. Register the webhook

    Open Details on the payment account and copy the Webhook URL. In the Pagar.me Dashboard, register that URL with the events charge.paid, charge.payment_failed, charge.refunded, charge.partial_canceled and dispute.received.

    Payment account details in the panel with the Webhook URL and the Copy button
  5. Link it to a recipient

    With the payment account active, link it to a recipient to start receiving sales.