Skip to content

[5.x]: Shipping Line Item Being Removed from Order and Marked As Overpaid #4342

Description

@RitterKnightCreative

What happened?

Description

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 affected orders 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.

FWIW I've also filed a cross referenced bug report with Verbb. Not sure how to go about troubleshooting this.

Steps to reproduce

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

Expected behavior

  1. Customer checks out
  2. On completion of the order, orders shipping remains in tact and not removed.

Craft CMS version

5.10.12

Craft Commerce version

5.7.1

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Postie

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions