Skip to main content
Docs

CommerceCheckoutTotals

The CommerceCheckoutTotals type represents the total costs, taxes, and other pricing details for a checkout session.

Properties

  • Name
    subtotal
    Type
    Description

    The price of the items or plan before taxes, credits, or discounts are applied.

  • Name
    grandTotal
    Type
    Description

    The total amount for the checkout, including taxes and after credits/discounts are applied. This is the final amount due.

  • Name
    taxTotal
    Type
    Description

    The amount of tax included in the checkout.

  • Name
    totalDueNow
    Type
    Description

    The amount that needs to be immediately paid to complete the checkout.

  • Name
    credit
    Type
    Description

    Any credits (like account balance or promo credits) that are being applied to the checkout.

  • Name
    pastDue
    Type
    Description

    Any outstanding amount from previous unpaid invoices that is being collected as part of the checkout.

Feedback

What did you think of this content?

Last updated on