Hmm... so I re-packaged up my channel, created some In-Channel Products for my channel, created a Test User and commented out the 'FakeServer(true)' line.
When I side-load the app, the "Order Response Garbled" message goes away. It actually runs just as it does in
the example screenshotwith 3 products. But I'm now at a loss for where these are coming from. They aren't coming from the csfake XMLs nor are they from the In-Channel Products I've created. They're just some mysterious Roku account out there and how can I be sure I'm a Test User on it? I would hope there would be a global setting that kept users from charging test purchases with their sample app, but nothing is explicitly written in the sample documentation then again explicit documentation doesn't seem to be too common around here.
I don't think I'm fully enrolled in Billing Services, as it keeps telling me to enroll in certain places. I'm assuming my paperwork is still processing. However, I do see that I now have access to some new Billing Service options in my Dev Dashboard, such as an API key. My first assumption was that my sample app was sending an API key with its requests to retrieve Catalog Products. But from what I can tell reading through the code, the sample app is essentially:
- GetCatalog() gets called
- if a response is returned on a roChannelStoreEvent then we iterate through the list
- check if they're owned already
- store them in an array
- set them to the screen's content
Since no "AddHeader" or "SetHeader" methods are being used I'm inclined to believe the API Key isn't actually being used. I'm definitely missing something here that's keeping the side-loaded app from outputting either the In-Channel Products I've created or the fake ones in my csfake folder, but am at a loss of where to look next.
-Mikey
EDIT: Just saw your response. Thanks so much for all the insight you've been able to provide. That's really too bad about FakeServer. I'll move forward with publishing a private channel as I'm guessing this is why I'm not seeing my In-Channel Products, and read through the other thread for some more info. I had a feeling testing would be difficult, hopefully the more I can wrap my brain around this now, the more I can lower my chance of any water torture
😉