-
Notifications
You must be signed in to change notification settings - Fork 121
[Woo POS] MVP Analytics: Update receipt-related events #15204
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
Conversation
Generated by 🚫 Danger |
|
|
staskus
left a comment
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_tappedfor newpos_receipt_email_tappedpos_email_receipt_send_tappedfor newpos_receipt_email_send_tappedpos_receipt_email_success, triggered on receipt successpos_receipt_email_failed, triggered on receipt failuresendReceiptsForPointOfSalefeature flag.In POS, go through the payment flow until you reach the success view. Then:
Testing information
Tap "Email receipt":
Tap the
SendbuttonEnter 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.txtif 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: