I am trying to figure out how to get the customerId when registering or how to associate a customerId in a webhook payload to an email. Either will do. However, I don’t see any Web API to get customer information based on customerId, and when I request data using channelStore.getUserData(), it always seems to have an empty string as the ID field. Anyone been able to do this before?
I’m now thinking that the way to do this is to save the transactionId with the user and then compare them when the server gets a Cancellation webhook. Now I’m stuck on how to get that transactionId. I see there is a purchaseId. However, when I save it and then compare it to the one in the webhook, they aren’t the same. They aren’t even in the same format!
