I need to make a system where the user can buy "credits/point" through woocommerce. When the user had bought money he/she can access a form.
Description of the process:
The user buy some credit
The user get access to a form, if the user had bought 10 "credits/points", he/she can go to the form and fill it for 10 times.
When the submit button on the form is touched, the counter of credits should go one down.
Does anyone have an idea how i can do this?