Launch offer for the first 500 accounts: $10K MTR free for 24 months + $100 credit →
    .io

    Roku Channel Store Setup (Coming Soon)

    Complete guide to connect your Roku Developer account with BillDog

    Step 1: Create Your Roku Channel

    1. Go to Roku Developer Dashboard
    2. Click "Manage My Channels" in the Developer Dashboard
    3. Click "Add Channel" to create a new channel
    4. Fill in your channel details (name, description, category)
    5. Note your Channel ID (displayed after channel creation)
    6. Complete channel setup and submit for certification

    Step 2: Set Up In-Channel Products

    1. In the Roku Developer Dashboard, select your channel
    2. Click "Manage" → "In-Channel Products"
    3. Click "Add a New Product"
    4. Fill in the product details:
      • Product Identifier: Unique code (e.g., premium_monthly)
      • Product Name: Display name shown to users
      • Product Type: Subscription or One-Time Purchase
      • Price Tier: Select pricing tier or set custom price
      • Subscription Period: (For subscriptions) Monthly, Yearly, etc.
    5. Save and submit the product

    Product Types

    • Monthly/Yearly Subscription: Auto-renewing subscriptions
    • One-Time Purchase: Permanent unlock of content or features

    Step 3: Get Your API Key

    1. In Roku Developer Dashboard, select your channel
    2. Click "Manage" → "In-Channel Products"
    3. Scroll down to "Web Service API Keys" section
    4. Click "Generate New API Key"
    5. Important: Copy and save the API key immediately - you won't be able to see it again
    6. Store the API key securely

    Step 4: Configure Transaction Notifications

    Transaction notifications allow BillDog to receive instant updates about purchase events.

    1. In Roku Developer Dashboard, select your channel
    2. Click "Manage" → "In-Channel Products"
    3. Scroll down to "Transaction Notification URL"
    4. Enter the webhook URL:https://api.billdog.io/v1/webhooks-roku
    5. Click "Save"
    6. Roku will send a test notification to verify the endpoint

    Supported Notification Types

    • purchase - New one-time purchase
    • subscribe - New subscription started
    • renew - Subscription renewed
    • cancel - User canceled subscription
    • expire - Subscription expired
    • refund - Purchase was refunded
    • billing_retry - Billing retry in progress

    Step 5: Integrate Roku SDK in Your Channel

    To process purchases, integrate the Roku Billing API in your BrightScript channel.

    1. Initialize the Billing Component

    ' Create billing component
    billing = CreateObject("roChannelStore")
    billing.SetMessagePort(port)
    
    ' Get catalog
    billing.GetCatalog()

    2. Handle Purchase Flow

    ' Initiate purchase
    order = [{ code: "premium_monthly", qty: 1 }]
    billing.DoOrder(order)
    
    ' Handle purchase result
    msg = wait(0, port)
    if type(msg) = "roChannelStoreEvent"
        if msg.IsRequestSucceeded()
            ' Purchase successful
            print "Purchase completed"
        else
            ' Purchase failed
            print "Purchase failed: " + msg.GetResponse()
        end if
    end if

    3. Validate Purchases with BillDog

    After a successful purchase, send the transaction ID to your backend, which will use BillDog to validate and track the purchase.

    Step 6: Enter Credentials in BillDog

    1. Navigate to Integrations in BillDog
    2. In the Roku Channel Store section:
      • Channel ID: Your channel's numeric ID from Roku Developer Dashboard
      • API Key: The Web Service API key you generated
    3. Click "Save Roku Credentials"
    4. BillDog will verify the configuration

    Testing Your Integration

    Development Testing

    Use Roku's test purchase feature to simulate transactions during development:

    1. In Roku Developer Dashboard, enable "Test User" for your account
    2. Make test purchases in your channel on a Roku device
    3. Test purchases won't charge real money but will trigger notifications
    4. Verify transactions appear in BillDog

    Beta Channel Testing

    Before public release, test with beta users:

    1. Publish your channel to beta
    2. Share beta access code with testers
    3. Monitor transactions and subscriptions in BillDog
    4. Verify notification delivery and receipt validation

    Production Monitoring

    After launch, monitor your channel's revenue in BillDog's analytics dashboard. Transaction notifications should arrive within seconds of purchase.

    Troubleshooting

    Purchases Not Appearing

    • Verify API key is correct and hasn't been revoked
    • Check that Transaction Notification URL is configured
    • Ensure your channel is published (at least in beta)
    • Verify in-channel products are approved and active

    Webhook Not Receiving Notifications

    • Verify the webhook URL is exactly as shown (no extra spaces)
    • Check Roku Developer Dashboard for notification status
    • Make a test purchase to trigger a notification
    • Review BillDog logs for incoming requests

    Transaction Validation Failed

    • Double-check the API key matches exactly
    • Ensure you're using the correct Channel ID
    • Verify the transaction is from a real purchase (not expired test)
    • Check that your channel status is "Published"

    Subscription Renewals Not Processing

    • Verify webhook URL is still active and correct
    • Check that subscription product is still active in Roku Dashboard
    • Review Roku's billing status for the subscription
    • Ensure API key hasn't expired or been regenerated

    Was this page helpful?

    Or rate this page:

    We use cookies and process your data to provide our services. By continuing, you agree to our Terms and Privacy Policy.