Dear sir,
In the given case it is not possible to directly convert the trasanction into shares.
However following can be done:
You can record the trasanction first as unsecured loan of your mother in the company which was paid by you on behalf of your mother.
Than company can repay the amount to mother unsecured loan and same day you can brought back that amount from your mother into company as her share acqusition money