Issue
Found endpoint that returns rokuCustomerId on the Web Service API that accepts transaction ID.
Don't see way to get customer data, like Roku ID, without transaction ID.
Environment
SDK
Roku Pay
Answer
On device, you can get Purchase ID from the ChannelStore object, and then use the Purchase ID in a validate-transaction call to our Web Service API to get the UserID.
Additional Resources
In addition to Customer ID, you can also collect a user's name and email address at purchase time using the GetUserData method.
It's best to limit this information to name and email, unless you have a specific requirement (e.g. zip code is needed to tell user about events in his/her area). This increases the likelihood of a user signing up on-device.
Comments
0 comments
Please sign in to leave a comment.