Commend not ourselves; Paul means that he did not say this to gain their applause.
Occasion to glory on our behalf; just ground of commending us as true and faithful servants of Christ.
In appearance, and not in heart; in the outward show of virtues which had no place in their hearts. These were the vain-glorious boasters who opposed and slandered Paul.