Subscription plans can either have licensed or metered usage. I ran into a few deserialization errors while using metered usage:
The amount field of a Plan can be null if the plan uses tiered metered pricing. (I didn't keep the actual error for this one. It was basically error deserializing null to u64.)
The quantity field of a SubscriptionItem does not exist if the subscription uses metered pricing. Error was:
Deserialize(Error("missing field `quantity`", line: 120, column: 13))
I don't actually use metered pricing so I'm not sure if there might be other issues. These errors just came up on some test data while I was evaluating it.
Subscription plans can either have licensed or metered usage. I ran into a few deserialization errors while using metered usage:
The amount field of a Plan can be null if the plan uses tiered metered pricing. (I didn't keep the actual error for this one. It was basically error deserializing null to u64.)
The quantity field of a SubscriptionItem does not exist if the subscription uses metered pricing. Error was:
I don't actually use metered pricing so I'm not sure if there might be other issues. These errors just came up on some test data while I was evaluating it.