We are having a problem when using payments and subscriptions through google and apple. When these editions ends and we try to change a edition manually in the angular application there seem to be an error. Because no editions shows up in the dropdown. Like in the pictures. If I look in the database the user still has an edition and enddate. But if I try to change on a user who doesnt have any edition or enddate it works as expected.
If I set an edition to a tenant by myself the tenant doesnt get an expire date. And then I can change to what ever again. So after my testing the problem seem to be connected with the expire date.
From Eric, Webking
0enisn createdSupport Team
The field named
EditionEndDateUtcis used together with webhook responses by Payment module. It can be configured like below: https://docs.abp.io/en/commercial/latest/modules/saas#tenant-edition-subscription
So, If there is an
EditionEndDateUtcdata, that means that tenant achieved that edition with a payment and it can be only changed by a payment provider like canceling payment or renewing payments, or a refund. So, updating
EditionEndDateUtcmanually brings other responsibilities like updating it on each payment status change.
EditionEndDateUtcis not recommended by us and I recommend you use a new field to manage your logic. You can use Object Extensions to define new properties to the
You can still use the existing
EditionEndDateUtcproperty but you should get its responsibility and update it on each payment action.