This error will trigger if the payment is linked to a Membership, and the Membership category has been made inactive.  To resolve, mark the membership category as Active:
  1. In Configuration, click Membership Categories
  2. Double-click the category that is marked as inactive
  3. Unmark the 'Membership category is inactive' checkbox
  4. Click Save and Close