-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide all sub types and how they relate #32
Comments
If you need upgrade/downgrade relations between subs - you can get them from appropriate products from COS. Just for example product with subscription type == downgrades: ["wl_ecommerce_basic", "wl_ecommerce_demo"] |
So, if there is no active ecommerce add-on - then the action is |
How does one determine if there is an active ecom add-on? |
You can get current user's subs and check if there is one with type in [list of ecommerce add-on types]. |
This is the info that I am missing. How does one build that list? |
I don't think we have it somewhere, except for COS DB. They are: |
Reviewing the bottomline implementation: Right now: Problem: Do we care about this? If no - I'll stop using the client to get the partner's available subtypes and hardcode this grouping:
If yes - then we need a way to build ☝️ using data sourced from yolapy. |
We can probably make a hack in yolapy to group partner's available subscription types as you mentioned - if name contains Either with our without grouping - we should take into account partner's |
I believe you understood :)
It would be most convenient (arguably necessary?) if
@blaix might have some opinion on this. We don't want to use yolapy to mask deficiencies of the platform |
I think we could add a new endpoint to COS and expose it via wlproxy to return all possible WL subscription types grouped. And yolapy could use it along with partner's |
Sounds good to me. |
me too |
@beck go ahead and consider hardcoding these relationships as part of the requirement for closing out https://github.com/yola/bottomline/issues/13 |
Problem
When trying to determine the possible options for an available subscription, if I already have a subscription of a certain type, is a related type a downgrade or an upgrade?
Example:
I have
wl_ecommerce_professional
and the partner also provideswl_ecommerce_basic
,wl_ecommerce_professional
, andwl_advertising_starter
. I would expect to see:How does one determine
downgrade
/upgrade
, vsadd
? Are there other actions?At minimum what is needed is documentation of all subscription types, grouped and prioritized.
ping @RayeN
The text was updated successfully, but these errors were encountered: