How to link Wix website's members to custom database

Hi folks, I read almost every post related to working with active databases, but not able to find a topic which could help me with this.

What I’m trying to achieve is to create a page into my web site, where two main functionalities going to work. The first is validation does a person have an active subscription - for the stake of the example call this group of people - validators. The second fucntionality is the validators to be able to input data related to this person i.e. this person rented 1 car. Aftwerwods all the info from this page will be automatically updated into the website’s database. Below you could find a simple idea, what I’m trying to create.

you can check what kind of subscription a logged in member has to your site with getPricingPlans()

https://www.wix.com/code/reference/wix-users.User.html#PricingPlan

Because I’m a new into web sites creation, could you tell me how to use this API codes? What else should be implemented into my wix website to achieve what I’m trying to do?

@kalevnikola
You type them into the page code. If you have never coded before on Wix then you should watch some basic Wix coding videos on Youtube.

@mikemoynihan99 thank you for you suggestion, but with no success on my topic, which is hot to make connection between site members and custom database.