woocommerce / woocommerce-ios

WooCommerce iOS app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
262 stars 106 forks source link

[Woo POS] Improve UI/UX after failing to check Order after a Payment Capture error #13234

Open jaclync opened 4 days ago

jaclync commented 4 days ago

Context

From the previous PR description https://github.com/woocommerce/woocommerce-ios/pull/13215:

If WooPayments captures the payment (charges the customer) but the request fails due to server issues or poor network conditions, we don't know whether the order has been paid for or not. In this case, the app first refreshes the order remotely again, and transitions to the success UI if the order is paid indeed. However, if the order refresh request fails like from poor network connections, we want to better inform the merchant about this error clearly so that the merchant does not end up undercharging or overcharging the customer.

Further improvements

After the initial implementation, there are a few further improvements:

dangermattic commented 4 days ago

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.