Execution reverted when calling Registry contract with non-zero value

I have managed to fix the issue, the payable modifier wasn't added to the register function and thus calling it with a non-zero value prior to that led to execution reverting.