Skip to content

[FEATURE] Add status methods to the payment and shipping of an order - #874

Merged
d-g-codappix merged 1 commit into
11.xfrom
status-methods-for-v11
Nov 22, 2026
Merged

d-g-codappix merged 1 commit into
11.xfrom
status-methods-for-v11

Conversation

@d-g-codappix

Copy link
Copy Markdown
Collaborator

Extensions compared the status of the payment and the shipping themselves with plain strings. The payment of an order now offers isOpen(), isPending(), isPaid() and isCanceled(), the shipping isOpen(), isOnHold(), isInProcess() and isShipped() for the status of cart.

Further status added by other extensions are still compared with getStatus().

Resolves: #866

Extensions compared the status of the payment and the shipping
themselves with plain strings. The payment of an order now offers
isOpen(), isPending(), isPaid() and isCanceled(), the shipping isOpen(),
isOnHold(), isInProcess() and isShipped() for the status of cart.

Further status added by other extensions are still compared with
getStatus().

Resolves: #866

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@d-g-codappix
d-g-codappix merged commit 46c1022 into 11.x Nov 22, 2026
21 checks passed
@d-g-codappix
d-g-codappix deleted the status-methods-for-v11 branch November 22, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant