Moody Teas dev

Open source

Pretty much everything Moody Teas runs on is somebody else's open-source work. When we write something another shop could use, it goes here.

Each one is a new repo with a clean history. Our working repos have passwords sitting in old commits (we checked), so we copy the current code, take out our details, and publish that.

square-bridge

An Android app for register tablets. It shows a browser-based POS full screen, hands card payments to the Square POS app, and tells the POS whether the payment went through. We use it with Odoo, but any POS that runs in a browser and can open a link should work.

Most of the code deals with things that went wrong for us: Android killing the app in the middle of a payment (which can charge someone twice if you're not careful), card readers disconnecting, and cheap tablets ignoring the screen rotation setting.

Kotlin, Android. MIT license.

square-bridge on GitHub