• 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

Managing the invoice ID

When a transaction is created, the payment gateway generates and transmits an invoice number to PayPal in the Invoice ID field.

 

The field value must be unique to avoid the DUPLICATE_INVOICE_ID error.

To ensure field uniqueness, Lyra Collect generates the invoice number as follows:

  • If you are sending an order number, the Invoice ID field consists of the order number and the UUID (unique reference generated by the gateway) separated by a hyphen.
    Example:
    • Order ID: CX_12345
    • UUID : 90df7d7cd29f46bd8ff510b65f123579
    • Invoice ID : CX_12345-90df7d7cd29f46bd8ff510b65f123579

  • If you are not sending an order number, the Invoice ID field consists only the UUID (unique reference generated by the gateway).

    Example:

    • UUID : 90df7d7cd29f46bd8ff510b65f123580
    • Invoice ID : 90df7d7cd29f46bd8ff510b65f123580

 

We recommend that you provide an order number to make it easier to find your transactions in your PayPal Back Office.

Jobs
Legal
GDPR
25.20-1.11