COD orders stay unpaid in Shopify until someone marks them as paid. With this setting, ShipDock follows each COD parcel and marks the Shopify order as paid after the courier reports the parcel as delivered.
Before you start
You need the Full plan. On other plans the checkbox is locked.
ShipDock recognises your COD payment method: How to set up cash on delivery (COD).
Supported couriers
Packeta
PPL
DPD Czech Republic, DPD Slovakia (beta), DPD Croatia and DPD Slovenia (beta)
GLS Czech Republic, Slovakia, Romania, Hungary, Croatia, Serbia and Slovenia (the myGLS connection)
BoxNow (beta)
Balíkovna
Czech Post
GLS connections in other countries, Magyar Posta and all other couriers are not supported. Mark those orders as paid in Shopify yourself.
Turn it on
In ShipDock, open Settings → Cash on Delivery.
In the Collect COD Payment card, tick Upon delivery of the package, mark the order as paid.
Click Save.

The setting applies to labels you create from now on. Orders whose label already exists are not followed.
Extra step for DPD Czech Republic and DPD Slovakia
DPD needs separate login details to report the parcel status, which you get on request from DPD support. Without them the order stays unpaid.
DPD Czech Republic: in your DPD CZ connection, fill in Username (Optional) and Password (Optional) under GetParcelStatus API Credentials.
DPD Slovakia: in your DPD SK connection, fill in Hostname, Username and Password under ParcelStatus sFTP Credentials.
Which orders are marked as paid
An order is followed only when all of these are true:
The courier is on the list above.
The shipping label was created after you turned the setting on.
The label was created with a COD amount (a COD order that was not already paid).
The order's COD value and currency were not overridden in Edit order.
The first check is about 10 hours after the label is created, then every few hours. The order is marked as paid at the next check after the courier reports delivery.
Note: Saving the Edit order page also saves the order's currency, even when Override currency is off. Orders you saved there before creating the label are currently not followed, so mark them as paid yourself.
Start a Shopify Flow workflow
When ShipDock marks a COD order as paid, it starts the Shopify Flow trigger COD marked as paid. In Apps → Flow, click Create workflow, then Select a trigger, and search for ShipD Delivery.
The trigger provides the order, trackingNumber, provider (courier code, for example packeta), providerName, codAmount, codCurrency, courierStatus and markedAt. Orders you mark as paid yourself don't start it.
Limits
A parcel the courier reports as returned, refused or cancelled is not marked as paid.
Packeta and DPD: ShipDock stops following a parcel when the courier still reports no movement 40 days after the label was created.
While the setting is off, ShipDock marks no order as paid. Turned back on, it continues with the parcels it already follows.
Troubleshooting
The order was delivered but is still unpaid in Shopify: allow several hours. Then check the plan, the setting, the DPD login details and the conditions in "Which orders are marked as paid". Otherwise mark the order as paid in Shopify yourself.

