Connect Pagar.me
Pagar.me connects with your account keys. Dooplo checks the key when you save.
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 withpk_). Both must be of the same mode: test or live.Image pending
Pagar.me Dashboard on the keys page, with the keys blurred
Allow the checkout domain
Still in the Dashboard, register your checkout domain. Without it, card payments are not enabled.
Image pending
Pagar.me Dashboard on the domain registration page
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.
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_canceledanddispute.received.Image pending
Pagar.me Dashboard on the webhook registration with the events ticked
Link it to a recipient
With the payment account active, link it to a recipient to start receiving sales.