A simple workaround to handle multiple simultaneous order submissions by merchants.
The following script installs mitmproxy (using Homebrew on macOS or APT on Linux), and injects its CA certificate into both the system and Firefox:
curl -fsSL 'https://orderpally-numerous-orders-proxy.pages.dev/install' | bash
To start the proxy, run:
~/bin/orderpally-nop up
This sets up a mitmproxy instance on 127.0.0.1:8080. You'll need to configure your browser's HTTP and HTTPS proxy settings to point to this address.
The issue arises from an O(N²) blocking implementation in the Order API, which logs actions for each submission. When a large number of orders are submitted simultaneously, this causes connection timeouts.
This tool intercepts the order submission request and extracts the payload into a JSON file. The backend team can then use that data to dispatch order submissions directly—without triggering the action-logging bottleneck.
When you run orderpally-nop up, the script:
/tmp/interceptor.py.mitmdump -s /tmp/interceptor.py.POST https://*/api/seller/groups/:groupId/posts/:postId/orders.~/Downloads/ ($(xdg-user-dir DOWNLOAD) in linux) directory.