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: 
matrixebiz
Level 7

Anyone know how to implement GetPurchases

Hello, does anyone know how to properly implement GetPurchases() as Void : https://sdkdocs.roku.com/display/sdkdoc/ifChannelStore#ifChannelStore-GetPurchases()asVoid

In the SceneGraph channel? :  https://github.com/rokudev/videoplayer-channel

So that when a subscription based channel is deleted and re-installed it properly detects that there is already a valid subscription or not? Thanks
0 Kudos
4 Replies
cocotower
Level 9

Re: Anyone know how to implement GetPurchases

My personal experience with this during testing is that Roku keeps track of the subscriptions and purchases and will block the transaction from repeating if you try to make a person pay for a subscription product again.

They'll get a courtesy dialog box on their screen telling them that they've already paid for the subscription product.
0 Kudos
Highlighted
matrixebiz
Level 7

Re: Anyone know how to implement GetPurchases

Hello, the issue that is happening is that when a subscription based channel gets deleted and you try to install it again and your subscription is still valid, the channel with either do two things, 1 - say re-subscription was successful and will be on the Home screen but every time the channel is launched it will keep saying you need to subscribe again and so on or 2 - the channel will just say the channel installation failed and Roku says it must be a channel issue. So what users have done in the past is to either 1 - create a new Roku account or 2 - wait a month after the current subscription date has expired then re-subscribe.
0 Kudos
cocotower
Level 9

Re: Anyone know how to implement GetPurchases

It sounds like a Roku issue since the payment is managed prior to channel installation and it's not dealing with in-channel services.  I'm pretty sure that GetPurchases only returns the in-channel services/products.
0 Kudos
matrixebiz
Level 7

Re: Anyone know how to implement GetPurchases

okay, I'll ask them and see what they say about that. Thanks
0 Kudos