Line items for Payment Services
Line items for Payment Services are the items included in an order. These line items provide information such as:
- Product details
- Quantity
- Price (including taxes, discounts, and other relevant information)
This information is useful for customer service, order management, and proper billing.
This feature is enabled by default for Payment Services. To view line items:
-
Navigate to your PayPal merchant dashboard.
-
Click Activity > All transactions.
-
Select the desired order and view its line items:
Example of line items in the shopper dashboard view
{width="500" modal="regular"}
Line items attributes
Line items are generated when the order is placed through Adobe Commerce and information is sent to PayPal, with the following attributes:
name
unit_amount
currency_code
and value
.tax
currency_code
and value
.quantity
description
sku
url
URL
to the item being purchased. Visible to buyer and used in buyer experiences.upc
category
unit_amount
attributes
The unit_amount
object contains the following attributes:
value
currency_code
determines the required number of decimal places, if any.tax
attributes
The tax
object contains the following attributes:
value
currency_code
for the required number of decimal places.upc
attributes
The upc
object contains the following attributes:
type
code
code language-json |
---|
|
See PayPal developer documentation about line items for more information about these fields and their limitations.
Manage line items
Adobe Commerce calculates tax based on the total amount for each row, which can cause rounding issues if multiple quantities of the same item are ordered or if tax-inclusive prices are displayed in the catalog. In such cases, the total quantity may be split into two lines, but the quantity will equal the total items ordered.
Example of line items with rounding issues in the merchant dashboard view
{width="600" modal="regular"}
Line items for Payment Services balances this rounding issue so that the the unit_amount
or unit_tax
value corresponds with the total amount for the order. An item may be split into two lines to resolve this rounding issue:
- When the rounding issue appears on the
unit_amount
, merchant should see a difference on the price on this additional line. - When the rounding issue appears on the
unit_tax
, no difference will be seen on the individual line items because thetax
is not displayed in the grid, but only as a total at the bottom.