I see many apps on the Shopify App Store offering billing based on the plan or tier of the shop.
E.g. 3$ for SHOPIFY BASIC shops, 8$ for SHOPIFY & ADVANCED shops and 15$ for SHOPIFY PLUS.
I would like our application to have a similar pricing model.
I understand the concepts behind the Billing API and how to work with it, what I haven't figured out is how to definitely identify which pricing tier to apply for a given shop, based on information available about the shop.
Apparently, using the plan's name is no good, because we don't know all possible values and there is no reasonable way of handling all unknown names. What should I charge the merchant if shop plan is custom, singtel_basic, singtel_unlimited, dormant or any unknown value?
Another approach I explored is distinguishing shop tiers by checking for available features.