Do not buy, it needs not only repair foundation but also
Repair cracks on the walls both outside and inside.
The cracks will come again with time, foundation needs lift again with time, then brings more cracks after lifting foundation. You will get strong headache.