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: 
ionatan
Roku Guru

DoRecovery API always returns recoveryStatus 1 (Enhanced Subscription Recovery)

Hi,

We are working to integrate "Enhanced Subscription Recovery" feature into Channels, but it looks that ChannelStore DoRecovery API doesn't return the correct information from Channel Store.

getAllPurchases API returns us products that are in Grace (inDunning: "true", status: "Valid") or On Hold (inDunning: "true", status: "Invalid"), but DoRecovery always returns "recoveryStatus: 1". Also Recovery Dialog doesn't show up.

Am I missing something? Shouldn't we get "recoveryStatus: 2" for these cases?

https://developer.roku.com/en-gb/docs/developer-program/roku-pay/subscription-recovery/subscription-...

I am using SceneGraph (SDK 2) example for calling DoRecovery https://developer.roku.com/en-gb/docs/developer-program/roku-pay/subscription-recovery/subscription-...

 

Thanks in advance!

 

0 Kudos
1 REPLY 1
ionatan
Roku Guru

Re: DoRecovery API always returns recoveryStatus 1 (Enhanced Subscription Recovery)

I have an update regarding this.

The renewal message dialog is displayed if we publish the Channel as beta test Channel, but not when the Channel is installed as a zip for development.

We already enabled Billing Testing https://developer.roku.com/en-gb/docs/developer-program/roku-pay/testing/billing-testing.md

Did anyone figured out how "Enhanced Subscription Recovery" feature can be tested with a zip Channel installed through Development Application Installer?

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.