Skip to content

Conversation

@itsmeichigo
Copy link
Contributor

Closes WOOMOB-633

Description

This PR updates the payment method view to enable the Confirm button even when there are no changes. Update requests are triggered only when there are changes.

Testing steps

  1. Log in to a test store with Woo Shipping set up as the store owner.
  2. Navigate to the Orders tab and select a completed order with at least one unfulfilled shipment.
  3. Select Create shipping label button and expand the Shipment details bottom sheet.
  4. Select the payment method row. Add a new payment method if there is no existing method and save the change.
  5. Open the payment method view again. Confirm that that the Confirm button is enabled before any changes are made.
  6. Tap the Use this card button and confirm that the screen is closed immediately without any loading state.
  7. Open the payment method again and toggle the email receipt switch.
  8. Tap the Use this card button and confirm that the setting is updated before the screen is dismissed.

Testing information

Tested and confirm with iPhone 16 Pro iOS 18.3.

Screenshots

Simulator.Screen.Recording.-.iPhone.16.-.2025-07-01.at.18.03.32.mp4

  • 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 22.8 milestone Jul 2, 2025
@itsmeichigo itsmeichigo added feature: shipping labels Related to creating, ordering, or printing shipping labels. Enhancement labels Jul 2, 2025
@itsmeichigo itsmeichigo requested a review from RafaelKayumov July 2, 2025 07:58
@wpmobilebot
Copy link
Collaborator

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 Number30937
VersionPR #15856
Bundle IDcom.automattic.alpha.woocommerce
Commit66bae3c
Installation URL3bmktiauikclg
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@itsmeichigo itsmeichigo merged commit 8560b98 into trunk Jul 3, 2025
13 checks passed
@itsmeichigo itsmeichigo deleted the woomob-633-enable-use-this-card-button-for-shipping-label-payment branch July 3, 2025 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement feature: shipping labels Related to creating, ordering, or printing shipping labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants