• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
Europe (English)
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

Creating a payment via Dolibarr

There are 2 methods for creating a payment via Dolibarr:

  • By sending the payment URL to the buyer.
  • By creating a client invoice.

Sending a payment URL to the buyer

The URL to send to the buyer is:

http://your-domain.com/htdocs/public/payment/newpayment.php?amount=9.99&tag=your_tag

  • Replace your-domain.com with the domain name of your website.
  • amount=9.99 corresponds to the payment amount.
  • amount=9.99 corresponds to the payment code.

Creating a client invoice

  1. Sign in to the Dolibarr Back Office.
  2. Go to Billing | Payment and click New invoice.
  3. Fill out the fields and click Create Draft.
  4. Fill in the fields in the area Add a new line and click the Add button.
  5. Fill in the other fields if needed and click Validate.
  6. Click Yes to validate the invoice.
  7. The invoice number will be generated, i.e.: FA2105-0004.
  8. The URL to send to the buyer is:

    http://your-domain.com/htdocs/public/payment/newpayment.php?source=invoice&ref=FA2105-0004

  9. Replace your-domain.com with the domain name of your website.
  10. Replace FA2105-0004 by the previously generated invoice number.
Jobs
Legal
GDPR
25.22-1.11