Skip to content

Conversation

@itsmeichigo
Copy link
Contributor

@itsmeichigo itsmeichigo commented Nov 11, 2025

Part of WOOMOB-1650

Description

It has been decided recently that there will be new user-facing payment statuses for bookings (ref: p1762342134384409-slack-C09224W4HAA). So we'll need to display the new statuses in filter and booking list.

This PR adds a new enum for payment statuses and updates the payment status filter to use the new statuses instead of booking statuses. I'm including only statuses on the Figma design and not some that was mentioned in the above discussion (failed, partially refunded), so there might be an update needed in the future.

Under the hood, I'm still keeping the old booking status for filtering as the new status is not available in the API yet. In a future PR, we'll need to update the predicate for loading bookings to use the new payment status instead of booking status and update the param used for filtering payment status once the support is available in the API.

Test Steps

  1. Log in to a CIAB store with existing bookings.
  2. Navigate to Bookings tab > All > Filter.
  3. Select Attendance status and confirm that the Canceled option uses American spelling (only 1 l) and is now at the end of the list.
  4. Select Payment status and confirm that there are only 4 options: Any, Paid, Unpaid, Refunded.

Screenshots

Attendance status filter Payment status filter
Simulator Screenshot - iPhone 17 - 2025-11-11 at 14 22 57 Simulator Screenshot - iPhone 17 - 2025-11-11 at 14 23 04

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@itsmeichigo itsmeichigo added this to the 23.7 milestone Nov 11, 2025
@itsmeichigo itsmeichigo added the type: task An internally driven task. label Nov 11, 2025
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Nov 11, 2025

App Icon📲 You can test the changes from this Pull Request in WooCommerce iOS Prototype by scanning the QR code below to install the corresponding build.

App NameWooCommerce iOS Prototype
Build Numberpr16339-54716d9
Version23.6
Bundle IDcom.automattic.alpha.woocommerce
Commit54716d9
Installation URL2hhsghtlfdur8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@itsmeichigo itsmeichigo marked this pull request as ready for review November 11, 2025 08:41
@RafaelKayumov RafaelKayumov self-assigned this Nov 11, 2025
Base automatically changed from woomob-1615-ios-mark-booking-as-paid to trunk November 12, 2025 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task An internally driven task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants