Greetings, apart from the object of buying, the noun 'purchase' also signifies the act or instance of purchasing, but the emphasis is shifted to the fact, not the process. With 'purchasing', which is a verbal noun, the process is underlined, but both variants are grammatical. I would choose the second one, to tell you the truth.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.