The payment provider shows two captures for invoice inv-2041. The first worker reached the provider, then crashed while recording completion (mark_paid raised ConnectionError). The message was redelivered, a retry processed the same invoice again, and the customer was charged twice.
Deliveries enter through consumer.py; trace one through worker.py, store.py and gateway.py. A retry after a crash must not charge the customer again.