Before revision:   For the general problem when the seller  only knows the type distribution of the buyer , it is NP-hard to find a constant factor approximation.
After revision:  For the general problem when the seller faces buyers of different types and only knows the type distribution of the buyer , it is NP-hard to find a constant factor approximation.