Palmeiras lost 2-0 to River Plate in the second leg but progressed to the showpiece 3-2 on aggregate.