Hi @Victor,
I just got a reply from IAPHUB support, and based on that, ChatGPT suggested the following logic for what I’m trying to achieve.
Could you please take a quick look and let me know if you think this could work? I’ve already tried at least 40 different logic combinations, so I’m really hoping this one is solid.
Here’s the suggestion:
1. “IAPHUB on Adalo only supports one subscription group”
➤ What does that mean?
Adalo’s integration with IAPHUB currently supports only one subscription group.
That means both of your products (access_view and premium_1godina) must be in the same group for IAPHUB to manage them correctly.
➤ The current issue:
You have two products in different groups, even though they’re listed on the same paywall.
As a result, IAPHUB doesn’t treat them as mutually exclusive — meaning a user can have both subscriptions active (which you don’t want).
So when a user buys access_view
, they still get hasActiveSubscription = true
, which incorrectly allows them to post ads.
The fix:
Put both products into the same subscription group (e.g., main_access_group
):
access_view
= Tier 1 (cheaper, view-only access)
premium_1godina
= Tier 2 (more expensive, can post and view)
IAPHUB will then automatically handle upgrades/downgrades and recognize which level the user has.
2. “Add a filter on the Start Success action based on the product ID”
➤ What does that mean?
On the IAPHUB Start screen, after the purchase is confirmed, you can add multiple ‘Update Logged In User’ actions.
Each action can have a Sometimes
condition based on the productId
.
That way, you can set different values for hasAccess
and hasActiveSubscription
.
For your case:
If the user buys access_view
:
hasAccess = true
, hasActiveSubscription = false
If the user buys premium_1godina
:
hasAccess = true
, hasActiveSubscription = true
You set all this logic on the IAPHUB Start screen using multiple Update Logged In User
actions with productId
conditions.
Immediate steps:
In IAPHUB:
- Move both products to the same subscription group
- Ensure both are active and visible on the paywall
In Adalo (IAPHUB Start screen):
- First reset
hasAccess
and hasActiveSubscription
- Then add two separate
Update Logged In User
actions:
- One for
access_view
→ hasAccess: true
, hasActiveSubscription: false
- One for
premium_1godina
→ hasAccess: true
, hasActiveSubscription: true
- Use
Sometimes
conditions to route the user to the correct screen:
- If they only have viewing access → go to viewing screen
- If they have full subscription → go to ad posting screen
In short:
Max from IAPHUB is completely right — the core issue is using two different subscription groups, which Adalo’s IAPHUB integration doesn’t support. Once everything is in the same group and filtered by productId
, the logic should work as expected.
Thanks so much in advance for reviewing this!
Best,
Domba