Hoping you can help. So on my membership model, a customer can sign up for a pro membership which will enable them to book 2 appointments (1 from product A and 1 from product B). (I have woocommerce memberships, subscriptions, bookingwp and this product).
Both products are bookable appointments and so when the user creates an appointment the system picks up that he has already bought one. This side of the behaviour is now working as expected and he is not able to purchase another one.
The plugin (bookingwp.com) allows for that user to cancel his appointment and reschedule.
My challenge is that since the user has cancelled his appointment, he should now have his limit reset but this is not happening.
I have checked order status and even though I have cancelled in there, it doesn’t seem to be picked up by the logic so this would mean that any customer who tries to reschedule their appointment will not be able to do that until I manually go in and edit their allowance each time which would cause a lot of admin.
Is there something I am missing or a code snippet that you can recommend to help me with this please?