woocommerce-android
woocommerce-android copied to clipboard
Cash Orders with empty Payment Method
Describe the bug
The mobile apps leave the payment_method
and payment_method_title
fields empty when the payment is collected in cash.
I checked the code, and the app updates only the status of the order to Completed, leaving the payment_method
and payment_method_title
fields empty.
To Reproduce Steps to reproduce the behavior:
- Create an order in the app
- Open detail of the order
- Tap on 'Collect Payment'
- Select Cash
- Confirm
- Notice the order is marked as completed, but the payment_method and payment_method_title are empty (not visible on the UI in the app
Screenshots
Expected behavior
Proposal When the user selects Cash on the Payment Selection screen, the apps should update:
-
status
tocompleted
-
payment_method
tocod
-
payment_method_title
toPay in Person
(This could get tricky, since this title is customizable – .../wp-admin/admin.php?page=wc-settings&tab=checkout§ion=cod. However, AFAICT the end-customers won’t see this value. I believe setting it to Pay in Person should be a good enough MVP.)
Thanks for reporting! 👍