Fixed purchasing.cpp to compile again.