Make wix paid plans cancel when another is bought?

I’m using the Paid Plans system as a membership system for the business. There are 3 plans: standard, trader, and professional.
Is it possible that a person can only be a member of one plan at a time? The reason for this is if a member upgrades their plan from standard to professional I don’t want them to be charged for both plans.
How can I implement this?

Hi,
This forum specialises with wix code product, please contact support@wix.com as they can help you best.