Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
matrixebiz
Roku Guru

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
Tags (1)
0 Kudos
4 REPLIES 4
cocotower
Roku Guru

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.
Tags (1)
0 Kudos
matrixebiz
Roku Guru

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.
Tags (1)
0 Kudos
cocotower
Roku Guru

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.
Tags (1)
0 Kudos
matrixebiz
Roku Guru

Re: Anyone know how to implement GetPurchases

okay, I'll ask them and see what they say about that. Thanks
Tags (1)
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!