The pledge and payment both have an attribute category that is set to only allow one per record.  When a payment is applied to a pledge any attributes the pledge has will be applied to the payment.  Since the payment already has an attribute with the category the error is received.  The attribute will need to be removed from the payment, the pledge, or the attribute category will need to be unmarked to only allow one per record.