woocommerce / woocommerce-ios

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

[TTPReq] Send receipts after succeeded or failed payments #14163

Closed staskus closed 4 hours ago

staskus commented 1 month ago

PT: p7bje6-6ob-p2 Test scenarios: p91TBi-csN-p2 API task: https://github.com/woocommerce/woocommerce-ios/issues/14326 Designs & Copy: pdfdoF-5KF-p2 Flows: pdfdoF-5GF-p2

Description

Allow customer receipts to be sent after successful and failed payments.

  1. Integrate new Woo 9.5 changes to send receipts after failed payment
  2. Integrate 'Send Receipt' option within existing APIs
  3. Try integrating existing UI to select customers / add new customer details
  4. Call a new API https://github.com/woocommerce/woocommerce-ios/issues/14326 to send receipt to updated customer details
  5. https://github.com/woocommerce/woocommerce-ios/issues/6358 Do not send a receipt to the same user twice. Test if receipts are always sent after successful or failed payments when the customer is attached. If that's the case, consider showing Send Receipt option only when there's no customer attached (See https://github.com/woocommerce/woocommerce-ios/issues/6358 and Android implementation).

Design

Image 1 Image 2
Image 1 Image 2

Email sent message

Image

User Flow

Image

dangermattic commented 1 month ago

Thanks for reporting! 👍