-
Couldn't load subscription status.
- Fork 50
Open
Labels
bugSomething isn't workingSomething isn't working
Description
During investigation in the UAT instance, we observed that duplicate shipments are created when the Ready for Pickup button is clicked multiple times from the order details page.
- After clicking the button, there is a slight delay for the packing slip to generate.
- The timestamps of the duplicate shipments differ by only milliseconds, indicating that the second click happened almost immediately after the first.
- If the app were slow, the timestamps would have a larger difference.
Root Cause
The issue occurs because the store team clicks the Ready for Pickup button twice in very quick succession.
Recommendation
- Ensure the Ready for Pickup button is clicked only once per order to avoid duplicate shipments.
- Implement a safeguard in the app to prevent multiple shipments being created from rapid multiple clicks. Possible solutions:
- Disable the button immediately after the first click until the shipment creation is confirmed.
- Show a loader to indicate the action is in progress.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
📋 Backlog