woocommerce / woocommerce-android

WooCommerce Android app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
277 stars 135 forks source link

[Woo POS payments onboarding] Close SelectPaymentMethodFragment when we skip it in the WooPOS flow #12952

Closed kidinov closed 18 hours ago

kidinov commented 1 day ago

Closes: #12951

Description

The PR fixes a bug when during pos payment flow if onboarding not finished and a user goes back then we still were showing SelectPaymentMethodFragment

Steps to reproduce

The tests that have been performed

Above

Images/gif

https://github.com/user-attachments/assets/ac7913d8-34d0-4699-8f23-a2d07c05f67e

Reviewer (or Author, in the case of optional code reviews):

Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement:

wpmobilebot commented 1 day ago
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
App Name WooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commit9a657e9063df3fc094bf3961a05e3bb6b1d0aaf7
Direct Downloadwoocommerce-wear-prototype-build-pr12952-9a657e9.apk
wpmobilebot commented 1 day ago

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

App Name WooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commit9a657e9063df3fc094bf3961a05e3bb6b1d0aaf7
Direct Downloadwoocommerce-prototype-build-pr12952-9a657e9.apk