Integrate credentials Karenderia Yii with woordpress/woocommerce

Job ID: 32865342

Budget: $250 – $750 USD

Then I have my Karenderia system, where we have made a number of changes.
In particular, for each merchant, both for delivery and for the pinot table, we have set discounts, different for 4 bands per day for each day of the week.
This discount applies when you enter a "card code" that we provide to our customers during the order. These card codes are recorded on a database table together with an expiration date and if the cart is valid the discount will be given for that merchant, on that day for that time. While if the expiration date is exceeded, it will show the error that the card has expired. The discount cannot be applied.
Now we have a site made in Wordpress (which takes into account subscriptions created with woocommerce subscription), where people buy these card codes.
And these users are present in a Wordpress table, together with username, password, carat code and expiration.
I would like to put as a login of the Karenderia system, a login where it is possible to put the credentials that I enter on Wordpress, and if correct to that selected discount point for that day and time for each agreement it is automatically applied. Taking into account the expiration date of the subscription and whether the subscription is active or not shown in the table of the Wordpress database.
The system has other implementations that must remain unchanged and functional.
This must be reported both on the web side but above all on the app side (nun project)
Thanks so much
Related categories: PHP MySQL WooCommerce API Yii2