Skip to content

Allow users to cancel pending orders#2930

Open
syedgalib wants to merge 1 commit into
sovware:developmentfrom
syedgalib:feat/cancel-pending-orders
Open

Allow users to cancel pending orders#2930
syedgalib wants to merge 1 commit into
sovware:developmentfrom
syedgalib:feat/cancel-pending-orders

Conversation

@syedgalib

Copy link
Copy Markdown
Collaborator

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Security fix
  • Improvement
  • New Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Text changes
  • Other... Please describe:

Description

How to reproduce the issue or how to test the changes

  1. Visit the checkout page with checkout_type=payment and confirm the secondary action label remains Not Now.
  2. Visit the checkout page with another valid checkout type and confirm the secondary action label is Cancel.
  3. Open the user dashboard orders table with a pending order. Confirm the actions menu shows Pay and Cancel, and that Pay opens checkout with checkout_type=payment&order_id={id}.
  4. Click Cancel, confirm the modal, and verify the pending order status changes to cancelled. Confirm non-pending orders cannot be cancelled.

Any linked issues

N/A

Checklist

@Armanul46 Armanul46 added this to the v8.8.8 milestone Jul 23, 2026
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.

2 participants