It is like buying it , it is like he got the cash and then turnred around and bought the shares, please correct me if I am wrong.
If we paid him the cash we will debit interest expense and credit cash but in this case I guess we debit interest expense and credit outstanding shares or something like that.