Inspiration

We built VIRD to help small neighborhood stores digitize their sales and give customers another way to pay. We started with a familiar moment at the counter. A customer asks for two cartons of milk and a loaf of bread, and the shopkeeper checks prices, adds up the total, and collects the payment. We wanted to turn that everyday sale into a digital checkout the shopkeeper could prepare by voice and the customer could review and pay for by scanning a QR code.

What it does

VIRD has two Flutter apps. In VIRD Sellers, the shopkeeper can ask Morgan, our voice assistant, to look up products, prepare a cart, and generate a payment QR code. The seller can review the cart and its total before presenting the QR.

In VIRD Consumers, the shopper signs in with Google, scans the QR, and sees the store, items, quantities, and total before choosing to pay. PayPal Sandbox handles the buyer's approval. Once the backend confirms the payment, VIRD shows the shopper an animated receipt with the amount and payment reference. The seller app can use that confirmation to record the sale and update local stock.

How we built it

We built both apps with Flutter and Dart and connected them through a shared Supabase backend. The seller app keeps its catalog and receipts in SQLite, and Morgan uses Groq for its voice interactions. When the seller requests a cart by voice, the app checks the requested products and quantities against the catalog. The backend associates the checkout with a PayPal Orders v2 order in Sandbox. The buyer app reads the order details from VIRD's backend, which also handles payment confirmation.

Challenges and what we learned

Voice input can be ambiguous. A request for “two milks” could match several sizes or brands, so Morgan needs to clarify the product before adding it. We learned to treat voice as a way to ask for an action and use the catalog to verify the selection, price, and stock.

We also had to make the two apps agree on what “paid” means. A shopper can return from PayPal while the payment is still being verified, and a lost connection can leave the result unclear. We designed the app to resume the same payment attempt and show a receipt only after the backend confirms the capture.

We verified sign-in with a Personal Sandbox buyer account. The end-to-end QR purchase still needs to be verified with a new seller order. A follow-up milestone is to enable and test repeat checkout with a saved PayPal method through Vault.

Built With

Share this project:

Updates