How to make a vending machine's payment system

hi guys im going to make a vending machine with e-payment.i decided to use Arduino to make a sample.
i am a Malaysian so i decided to use the TNG as the payment system.
i want to make a app/webpage. the customers can choose the product and the quantity they want. after that, they need to make a payment with TNG.

so, i have some questions:

  1. is this possible to make with Arduino?
  2. do anyguys have idea that what app should i use to make that webpage, or i can make it in Arduino?
  3. how can i make sure that the customers pay for me then dispense the product to them?

pls help me. it's very important to me. tq

Have you got any idea how TNG should be connected to anything? Is there any description of this machine? A protocol?
Is the machine inside a building (with some supervision?).
I think this will be hackable. So it would be good to catch a person that runs away with a basket full of stuff.
Arduino could send a message to a payment facility (based on what consumer wants from vending machine). Payment facility will send some confirmation message. That could be used to trigger machine to deliver the product. I guess all these messages will be somehow encrypted. So you would need to know how it is encrypted and how encryption keys are exchanged.
If you start with zero experience, I do recommend this as a starting project...

This is not a simple project.

TNG likely have a web based API that you can connect to perform payment transactions. You need to be Internet connected... you would be better to use a device like an ESP32 that has WiFi built in (although depends if your vending machine is close to a WiFi access point).

Not sure what the hardware requirement of TNG for the "tap and go" components.

There is a lot of analysis that needs to be done before I would tackle this project, or before you confirm that it can actually be done.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.