I added a new component to the IAPHUB library, you should now see “Get Active Purchases” in your private component library.
You can use this component to get all active purchases. The “Triggered multiple…” action will fire with the list of active products. If there are no active products it will not be triggered.
So, if you have 3 subscriptions types, “monthly”, “yearly”, “perpetual” and a user has a “monthly” subscription this action will fire once with
SKU: “monthly”
type: “subscription”,
state: either “active”, “grace_period”, “retry_period”, “paused”
then you can make an “sometimes” action where if SKU = “monthly” you can show monthly stuff.
As always, please test it out and let me know if you come across any issues OR if there are changes to make it simpler for you (and everyone else)!
Value
Description
active
The subscription is active
grace_period
The subscription is in the grace period, the user should still access the features offered by your subscription
retry_period
The subscription is in the retry period, you must restrict the access to the features offered by your subscription and display a message asking for the user to update its payment informations.
paused
The subscription is paused (Android only) and will automatically resume at a later date (autoResumeDate property), you must restrict the access to the features offered by your subscription.
Good question, you could probably do it using some type of gnarly text inputs and page actions, but I think we can make that simpler. The best way would be for me to make an update to the component where it can update the user if products are not active. I’ll circle back to it soon.
I seem to have tried everything when it comes to this component but it still does nothing when I click the button. I’d love to potentially let you into my account to check it out, not sure why it’s doing this. When I configure the adalo IAP component to the same product id’s the adalo iap works. When I click the iap hub button nothing happens. I even set up the error button as you listed in this feed and no error even comes up. I’m 99% sure I’ve configured the IAP HUB products correctly as well. Any advice or solutions for this problem?
@TKOTC I am working on utilizing your IAP component and for some reason the button shows up as invisible in my app. I’ve tried placing the button on numerous screens within the app and it doesn’t show up on any of the, Any idea why this might be happening?
Bobby, how did you solve this problem with randomizer? They do not accept email, and im not able to understand the logic of randomizer. Sometimes the id is not generated
Which status of an IOS subscription product is needed in the test phase to see/test it with the IAPHUB component? My products (only subscriptions) has the status “Ready to Submit”. I think I setup everything as explained in the Adalo documentation and what I found here in the forum, but when I press the “IAPHUB button” on TestFlight on a physical iPhone the “Action when an error occurred” is called and I’m getting back no “Error Code”. What I don’t found so far is the status of the subscription needed to test IAPUB.