-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Woo POS] MVP Analytics: Update receipt-related events #15204
Conversation
Generated by 🚫 Danger |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well! 🚀
Closes: #15203
Description
This PR updates receipt-related events by:
pos_email_receipt_tapped
for newpos_receipt_email_tapped
pos_email_receipt_send_tapped
for newpos_receipt_email_send_tapped
pos_receipt_email_success
, triggered on receipt successpos_receipt_email_failed
, triggered on receipt failuresendReceiptsForPointOfSale
feature flag.In POS, go through the payment flow until you reach the success view. Then:
Testing information
Tap "Email receipt":
Tap the
Send
buttonEnter a valid email, and send it:
Re-run the app and repeat but throwing an error from
sendReceipt()
in the order controller, observe the event being tracked, and the error bubbling up to the view:RELEASE-NOTES.txt
if necessary.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: