Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Order API: Taxes not adding to the Order Total when viewing order detail

Order API: Taxes not adding to the Order Total when viewing order detail

tylerpage
Visitor
1 0 0

I have a payload:

 

{
    "order": {
        "email": "tylerbpage@gmail.com",
        "source": "Website",
        "billing_address": {
            "zip": "55401",
            "city": "Minneapolis",
            "name": "tyler page",
            "phone": "",
            "company": "tylerbpage@gmail.com",
            "country": "US",
            "address1": "2728 Bryant ave N",
            "address2": "",
            "province": "MN"
        },
        "shipping_address": {
            "zip": "55401",
            "city": "Minneapolis",
            "name": "tyler page",
            "phone": "",
            "company": "tylerbpage@gmail.com",
            "country": "US",
            "address1": "2728 Bryant ave N",
            "address2": "",
            "province": "MN"
        },
        "line_items": [
            {
                "title": "Sink Form",
                "price": "29.99",
                "quantity": "1",
                "sku": "SF-001"
            },
            {
                "title": "Ogee Edge",
                "price": "139",
                "quantity": "1",
                "sku": "OG-002"
            }
        ],
        "location_id": 61050880247,
        "payment_gateway_names": "PayPal",
        "tax_lines": [
            {
                "price": "16.06",
                "rate": 0.06923906014227203,
                "title": "Tax"
            }
        ],
        "financial_status": "paid",
        "transactions": [
            {
                "kind": "capture",
                "status": "success",
                "currency": "USD",
                "gateway": "PayPal",
                "amount": "231.95"
            }
        ],
        "fulfillment_status": "fulfilled",
        "processed_at": "2021-01-21T01:54:00+00:00",
        "fulfillments": [
            {
                "id": 61050880247,
                "location_id": 61050880247,
                "tracking_number": "1Z6R5A800399922743",
                "tracking_company": "Standard - Ground"
            }
        ],
        "shipping_lines": [
            {
                "price": "46.9",
                "title": "Standard - Ground",
                "0": ""
            }
        ]
    }
}

 

 

But the total still shows without the tax:

Screen Shot 2021-09-29 at 2.12.19 PM.png

Is there a way I can fix this?

Reply 1 (1)

topofthetrop
Visitor
1 0 1

Hey, did you ever figure this out? Having the same problem.