Hi, we are planning our development to integrate our SaaS with zoho subscriptions and we find 2 unexpected behaviours. The first one, A, I think it is a Bug, the second one, B, is a behavior which I understand it should be present:
A) Bug: wrong amount calculated on upgrades performed on backdated subscriptions:
How to reproduce:
1 - Create a backdated subscription (date < today), choose a plan and add recurrent addons, for example 50 units.
result: no invoice, generated (ok since I understand that the invoice should have been generated earlier)
2- Edit the subscription, and add 20 units of the same addon, setting a total of 70 units
result: the invoice generated charges the user for the total of 70 units, instead of the 20 units that have been added.
B) Expected behavior: after creating a backdated subscription, I understand that the invoice should not be created, however I think that the event of subscription_created should be triggered, and sent via webhook. For our system it will be important to log all events, and the subscription creation with backdated dates, will be done massively for the migration. So for us it is a must.