Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
searsaw
Visitor

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 1
searsaw
Visitor

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