Skip to content

Shipping Line Item Being Removed from Order and Marked As Overpaid #174

Description

@RitterKnightCreative

Describe the bug

I believe this started happening on the Craft Commerce 5.7 branch so I'm not sure if this is a Commerce bug ( or a Postie bug.

We recently upgraded Commerce to 5.7.1 (from 5.6.x) and on a few orders we're seeing shipping being dropped as a line item on the order.

However, in the sidebar, the shipping method still appears to be retained on the order so it doesn't appear to be completely "missing."

Image Image

However, this is making the order appear overpaid.

It's not happening all of the time but the last 5 orders that I've seen, 2 of those were marked as overpaid. It's almost like after the order is being completed, Commerce is recalculating the order and since the shipping is being calculated in real time, it throws the line item out.

I've also filed a bug report with Craft.

Steps to reproduce

  1. Customer checks out
  2. On completion of the order, some orders appear to be overpaid with shipping being "removed".

Craft CMS version

5.10.12

Plugin version

5.0.19

Multi-site?

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions