Allow the user to add a note to the order with the paid amount and the change due, for their records. We should include this information in the receipt.
Issue Description:
This issue is to add support for other payment methods to the Android application, similar to the functionality recently implemented in iOS (#11366). This allows merchants to specify their payment methods via a note attached to the order. This functionality is particularly useful when the merchant receives payment via an alternative method, such as checks, gift cards, or house accounts, and wishes to record this.
Lastly, ensure that the event payments_flow_completed is being tracked with the correct payment method details.
### Tasks
- [ ] Add 'Other Payment Methods' to the available options.
- [ ] Allow user to add a note about the payment method used and mark the order as complete.
- [ ] Confirm above testing steps.
- [ ] Confirm event tracking for Android based on iOS steps above.
See related iOS PR
and this one.
Issue Summary:
Allow the user to add a note to the order with the paid amount and the change due, for their records. We should include this information in the receipt.
Issue Description:
This issue is to add support for other payment methods to the Android application, similar to the functionality recently implemented in iOS (#11366). This allows merchants to specify their payment methods via a note attached to the order. This functionality is particularly useful when the merchant receives payment via an alternative method, such as checks, gift cards, or house accounts, and wishes to record this.
Testing Instructions (based on iOS PR):
Please also validate that the appropriate events are being tracked: when tapping on 'Other Payment Methods' option and when adding a note.
When tapping on the 'Other Payment Methods' row, this event should be tracked:
🔵 Tracked payments_flow_collect, properties: [AnyHashable("is_wpcom_store"): true, AnyHashable("site_url"): "{site_url}", AnyHashable("order_id"): order_id, AnyHashable("payment_method"): "other_payment_methods", AnyHashable("was_ecommerce_trial"): false, AnyHashable("plan"): "business-bundle", AnyHashable("blog_id"): blog_id, AnyHashable("flow"): "order_payment"]
And when adding a note, this event should be tracked:
🔵 Tracked other_payment_methods_note_added, properties: [AnyHashable("site_url"): "{site_url}", AnyHashable("was_ecommerce_trial"): false, AnyHashable("is_wpcom_store"): true, AnyHashable("blog_id"): blog_id, AnyHashable("plan"): "business-bundle"]
Lastly, ensure that the event
payments_flow_completed
is being tracked with the correct payment method details.