Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
searsaw
Level 7

Getting the customerId

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?
0 Kudos
1 Reply
searsaw
Level 7

Re: Getting the customerId

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!
0 Kudos