Share register is not part of accounting record. Accounting software doesn’t need to know how much each shareholder has contributed to buy shares.
So it’s quite simple. In bank account, you receive money ($500,000) and allocate it to appropriate equity account (Share Capital).