woocommerce-android
woocommerce-android copied to clipboard
In landscape, marking as paid with cash keeps user on collect payment screen
Describe the bug If a user tries to make an order as paid via cash while their device is in landscape mode, it appears that it's effectively completed behind the scenes, but the user appears to get stuck on the collect payment page.
To Reproduce Steps to reproduce the behavior:
- Create a new order and add product or custom amount
- Tap Collect Payment
- Rotate device so it's in landscape mode (without being in split screen)
- Tap cash
- Tap mark as paid
- Note you're brought back to the Collect Payment screen
Screenshots Video taken with the Android Cash Payment improvements changes, but I also could reproduce this without that project present:
https://github.com/woocommerce/woocommerce-android/assets/103850310/d07c9235-d982-4f64-b7da-a175078f449d
Expected behavior User should be brought to order list
Isolating the problem (mark completed items with an [x]):
- [x] I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
- [x] This bug happens with a default WordPress theme active, or Storefront.
- [x] I can reproduce this bug consistently using the steps above.
Mobile Environment Please include:
- Device: Pixel 7
- Android version: 13
- WooCommerce Android version: 18.8