Pay-when-paid vs pay-if-paid
Pay-when-paid delays the timing of your payment until money arrives from upstream; pay-if-paid makes upstream payment a condition of you being paid at all — if the owner never pays, you never get paid. US courts construe ambiguous wording as mere timing, which is why drafters who mean pay-if-paid say 'condition precedent' explicitly. Either way, the clause moves a credit risk you didn't price onto your balance sheet.
