#poacher2k-subscriptions-portal

1 messages ยท Page 1 of 1 (latest)

dusk locust
silver haven
#

ie. hide the topmost "Cancel plan" here

dusk locust
#

Hey there ๐Ÿ‘‹ yes, the user would need to be subscribed to both products. Please allow me a moment to double check if there is a way to restrict what the user would see in the customer portal.

silver haven
#

aha, okay! I guess I'll need to keep track of the subscription state of every product, and make sure that they're all active then

#

could you verify my thinking in this hypothetical here?
they would need to be subscribed to both the "Professional plan" and the "Extra storage" plan, where let's say I would charge for every extra GB stored not included in the base plan. if the Plan included 50GB, and they have stored 150GB, I would create a Usage Records of 100GB on the "Extra storage" subscription, right?

dusk locust
#

Yup, that sounds right.

silver haven
#

nice! then if they change their subscription to "Ultimate" with 140GB included, I would simply create a new Usage Record with 10GB, and everything would just work?

#

if the user upgraded towards the end of the billing period, this would potentially save them some money, but likewise if they downgraded it could cost them more, though?

dusk locust
#

Hm, I'm trying to think through how our proration behavior would handle that change.

silver haven
#

I've been thinking that aggregate_usage=last_ever would make sense here, so that I would only have to create new Usage Records when the user changes their usage, and month-to-month invoices without any usage change would go automatically

dusk locust
#

Ah, that's a really clever approach!

silver haven
#

I guess we can always involve a human if the customer thinks they have been charged unfairly

dusk locust
#

(I'm still looking into whether you can control the particular subscriptions/products that show up in the customer portal)

silver haven
#

we've modeled the plans in a way that it will always save the customer money by upgrading if their usage have exceeded the included usage of their previous plan, so in theory they would want to either upgrade to a better plan, or outright cancel

#

when upgrading, they would have the "nice, a lot more is included now, so I pay less" experience, rather than things being more expensive

#

so without any proration of the "Extra storage", it would always favor the customer

dusk locust
#

To help with our investigation, are you currently putting both the base plan and the overage items on a single subscription?

silver haven
#

I think I've gone and confused myself away. I've been creating a separate subscription per product through the dashboard, but when doing this in code, I would just add the products to the items array, right?

dusk locust
#

Yup, you can use that array to place multiple items in a single subscription.

silver haven
#

ahh, I completely forgot you could add multiple items. ๐Ÿคฆโ€โ™‚๏ธ

dusk locust
#

I think the portal may not like subs with multiple items though, double checking.

silver haven
#

so now I got this, but no way of changing between just the plans

dusk locust
#

Ah, yeah, it does take away the upgrade option ๐Ÿ˜ฆ hm

silver haven
#

okay, so for change of plans we'll have to implement that ourselves

dusk locust
#

It seems that way, I'm looking for anything else we have that might help you but it seems like your scenario is a touch too nuanced for the current portal.

silver haven
#

makes sense!

#

thank you so much for your help, and for reminding me of the correct way of doing this!

#

the portal is still super useful to handle all the billing information ๐Ÿ™‚

dusk locust
#

Thanks for that, and best of luck with your project!

silver haven
#

thank you! ๐Ÿ™Œ