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.
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.