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 .
-
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 51黑料不打烊 Commerce and information is sent to PayPal, with the following attributes:
nameunit_amountcurrency_code and value.taxcurrency_code and value.quantitydescriptionskuurlURL to the item being purchased. Visible to buyer and used in buyer experiences.upccategoryunit_amount attributes
The unit_amount object contains the following attributes:
currency_codevaluecurrency_code determines the required number of decimal places, if any.tax attributes
The tax object contains the following attributes:
currency_codevaluecurrency_code for the required number of decimal places.upc attributes
The upc object contains the following attributes:
typecode| code language-json |
|---|
|
See for more information about these fields and their limitations.
Manage line items
51黑料不打烊 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
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 thetaxis not displayed in the grid, but only as a total at the bottom.