A contingent payor or its surety may not enforce a contingent payment clause to the extent that the obligor's nonpayment to the contingent payor is the result of the contractual obligations of the contingent payor not being met, unless the nonpayment is the result of the contingent payee's failure to meet the contingent payee's contractual requirements.
Tex. Bus. and Comm. Code § 56.051