Hello,
I have now been asked to develop the feature I mentioned. So I started writing a plugin suitable for this. However, I did not fully understand which values I should enter in which fields in the database. You wrote that I should enter entries in the “slicewp_visits” table, but doesn’t the “slicewp_commissions” table also concern this field?
Can you share exactly all the changes that will occur in the db if a visit turns into a full purchase? In this way, I can offer this editing opportunity to the user in the data table I will write myself.