If you buy a Hypixel rank (e.g. VIP) on the Hypixel store and then you upgrade to a better rank (e.g. MVP) the cost of your existing rank is deducted from the cost of your new rank. Salad should do the same.
I believe this is something that is planned but still needs to be worked out fully before being implemented.