Announcement

Collapse
No announcement yet.

Help with implementing app monetization

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help with implementing app monetization

    My app is in review and I am trying to implement monetization in my app. I am trying to display a banner that informs the user about the number of trial days they’ve left and a button for them to subscribe to a new plan which opens up the plan selection page.

    Currently I’m able to display the banner and button and open the plan selection page, but I can’t what remember my app_plan_ids are so I can’t write logic around that. Is there a way to fetch that?

    Secondly, I’m unable to create a mock subscription. I keep getting an Unauthorized error when I try.

    This query returns an empty array.


    query {
    app_subscription {
    billing_period
    days_left
    is_trial
    plan_id
    renewal_date
    }
    }


    I will appreciate some help on this

  • #2
    I ran into something similar and ended up using a monetization SDK to handle subscriptions and payments. It gave me more control inside the app, and I didn’t need to build all that from scratch. If you’re planning to charge users based on usage or tiers, adding a monetization SDK helps keep stuff like tracking and billing way simpler.

    Comment

    Working...
    X