← The Dokos ecosystem

Your payment requests, paid by card or SEPA direct debit, from an invoice or your shop.

You create a payment request from a sales order or a sales invoice and send the link to your customer. The gateway confirms the payment to Dokos by webhook; no card data is stored on your site.

Publisher
Dokos SAS
Licence
MIT
Dokos version
v5
Payments

Who it is for.

  1. 01You send invoices and wait for bank transfersThe payment request generates a link. Your customer pays by card or SEPA direct debit, and the status of the request is updated in Dokos.
  2. 02You sell online with WebshopThe mode of payment linked to a gateway, allowed in the Webshop Settings, appears when the order is paid.
  3. 03You invoice subscriptionsWith Stripe or GoCardless, a payment request linked to a subscription keeps the card or the direct debit mandate for the next instalments.
  4. 04You take payments on siteThe Pay with SumUp button on an invoice, a payment request or the point of sale starts the payment on the SumUp app and its terminal.

How it fits in your Dokos site.

Payments adds the gateways to the Dokos payment request. Each gateway is linked to a mode of payment, whose Portal tab sets up the payment page. On the customer record, Dokos keeps only the gateway's customer ID and the default payment method, to reuse the same customer from one payment to the next.

Documents it reads and writes
  • Sales Order and Sales Invoice, the source of a payment request
  • Payment Request, whose status follows the gateway's notifications
  • Customer, which keeps the gateway's customer ID and the default payment method
  • Mode of Payment, with its Payment Gateway and Portal tabs
  • Webshop Settings, Allowed modes of payment section
  • Subscription, for recurring payments
What it adds to your site
  • The Stripe Settings, GoCardless Settings, Stancer Settings, HelloAsso Settings, SumUp Settings and Paypal Settings documents
  • The portal payment page, opened from the link of a payment request
  • The Pay with SumUp button on the sales invoice, the payment request and the point of sale
  • The webhooks that receive payment statuses
Works with
Accounting

What you do with it.

  1. 01Payment requestSend a payment linkFrom a sales order or a sales invoice, you create a payment request and share the generated link. Your customer pays on the portal payment page, without an account on your site. To test, open the link in a private browsing window.
  2. 02WebshopTake payment for your shop's ordersYou create a mode of payment and link it to your gateway in the Payment Gateway tab. In the Webshop Settings, you add it to the allowed modes of payment. Customers of your Webshop see it when they pay.
  3. 03RecurringCollect your subscriptionsWith Stripe, a card or SEPA direct debit payment linked to a subscription saves the payment method for the next instalments. With GoCardless, the direct debit mandate is kept. Stancer also keeps the card for a request linked to a subscription; HelloAsso does not.
  4. 04SumUpTake payments on site with SumUpYou enter the keys of your developer account in the SumUp Settings and create a SumUp mode of payment for your companies. The Pay with SumUp button appears on the sales invoice, the payment request and the point of sale; it starts the payment on the SumUp app of a mobile device linked to the terminal.
  5. 05WebhooksReceive confirmations by webhookIn the Stripe Settings, the Create Stripe webhooks button sets up the webhooks for you. For GoCardless, you create the endpoint in the developer area and copy the generated secret into Dokos. Status changes arrive through this channel, sometimes a few seconds after the payment. Since Dokos V5, a failed request can no longer be reused for a new transaction.

How to get it.

  1. 01From the Dokos Cloud marketplacePayments is installed with Dokos on your site. If it is missing, open the marketplace from your Dokos Cloud dashboard and install it. It needs no separate subscription.
  2. 02Self-hostedbench get-app https://gitlab.com/dokos/payments then bench --site your-site install-app payments.
  3. 03First setupEnter your gateway's keys in its settings document, create a mode of payment linked to this gateway, then test with a payment request opened in a private window.

Prerequisites

  • An account with one of the supported gateways, with its API keys

Frequently asked questions.

Which gateways are supported?

Stripe (card and SEPA direct debit), GoCardless (SEPA direct debit), Stancer (card), HelloAsso (card, for non-profits only), PayPal and SumUp (on-site payment by terminal). Each gateway has its page in the documentation.

Does Dokos store card data?

No. The card is entered at the gateway. On the customer record, Dokos keeps only the gateway's customer ID and the ID of the default payment method.

We are a non-profit. Which one should we choose?

HelloAsso, if your association is verified by HelloAsso. The payer can add a voluntary contribution to HelloAsso. For subscriptions, HelloAsso does not keep the card; use Stripe or GoCardless instead.

How do I test a payment before going live?

Create a sales order or a sales invoice, then a payment request. Open the link in a private or signed-out window to see what your customer will see. PayPal also offers the Use Sandbox option.

Works with.

Ask us your questions about Payments.

Tell us how your customers pay you today.