You offered to come to you friend birthday party but you need to prepare for your exams. Leave a note for your friend. In your message: explain why you need to go out
ask your classmate to send a present to your friend
tell him where and what can he buy
tell him you are paying for the present
As far as I can tell , its uncorrect