Android Vending Machine app

Job ID: 36412361

Budget: $30 – $250 USD

I need android app for a vending machine. I already have an app already. I want various changes and additions in this application.

Customers will choose products and products, then choose the payment method. If he chooses cash, he will switch to the cash payment page. On the cash payment page, every amount of money put into the machine will be written. He will receive this amount via mqtt. If a credit card is selected, the attached payment integration will be made. This payment integration calls the payment plugin of a pos provider with a service method. After the payments are successful, the transition to the "preparing" page will be made. Here the application will control the engines with a link call with a set of functions.
When the process is finished, you will be transferred to the "completed" page.

List
|. Design: This section is about the pages to be created.
1. Cash money page
2. Credit card page
3. Start page
4. Preparing page
5. Prepared page
6. We are unable to provide service

These pages will be created, design texts and images can be added and changed.

a) In the current application, the page with "touch" written on it and the last page consisting of the order number will be removed.
b) the language page will be removed as a page but the function will be placed in a button called “Language” located in a corner of the homepage. The language can be selected from the drop-down menu.
c) The new pages that will be created will be identical to the theme of the current application and will be supported with various animation, gif or png images.
d) The basket screen will be embedded in other pages besides the current pages. In other words, on other pages, customers will see which products they have paid for.
e) The design will run horizontally.



||. Backend: This section is about functions that will run in the backend.

1. Mqtt
The application will be a publisher in some cases and a subscriber in others. You can see the topic names and functions below.
- "money" subscribe
Will be subscribed to this topic. Incoming money values ​​will work on the screen on the cash page.
- "return" publisher
Become a publisher to this topic. If the money value is more than the basket value, the difference amount will be shared in this way. At the same time, this value will appear in a convenient place on the start page.

2. database
a. Product stocks will be stored in the app. In addition, when I change the number of products from my own website using Google's firebase realtime database product, the application will change this.

b. Firebase product will also support offline working mode. It will transmit information when online.

c. It will update which products have which stock codes by pulling data from the firebase. But it will not be dependent on the internet as in other transactions. This information will already be in the application, but if there are any changes, it will make the updates via the internet.

D. Product name, picture, price, descriptions, etc. Details are already included in the current app now. This information will also be pulled from the database. Again, as in other transactions, it will host the updated products in its own local storage. So it will work even without internet.
3. Ordering processes. (I have attached a picture about it.)

Each product will have more than one stock code. There will be 2 separate call links for stock codes. Lift and motor links will work according to the ordered products. Calls for the lift will be that the product is in order to be shunned. So this will work first. A call will then be made to the engine link. A matching mqtt message will come from the sensor publisher. If mqtt comes from the sensor, the necessary link call will be made to go down the lift. If a 2nd product is ordered, a lift call for the other order will be made on the lift. Operations will continue in this way.