I'm sorry, but there is no way to migrate between Mac AppStore and Online Store. In order to switch you will need to purchase the application again.