Actually using callback instead of having onTokenCreated hard coded.