The customer pays the shop at the door, then gives the rider a 4-digit code.
Pay on delivery lets customers pay when the parcel reaches them. They pay your shop, not the rider: with the link we text them or the rider’s QR code. Then they read the rider a 4-digit delivery code, and only then does the rider hand over the parcel.