{"repo":"moomdate/CYD-PromptPay-Terminal","free":true,"listed":false,"github":"https://github.com/moomdate/CYD-PromptPay-Terminal","clone":"git clone https://github.com/moomdate/CYD-PromptPay-Terminal.git","description":"A $6 PromptPay payment terminal — ESP32 + 2.8\" touch screen, powered by Stripe. Enter amount, show QR, beep when paid. Thai/English UI.","language":"C","stars":58,"topics":["arduino","cyd","esp32","payment-terminal","platformio","promptpay","qr-code","stripe","tft-espi","tft-espi-library"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"💸 CYD PromptPay Terminal (Stripe) English · ภาษาไทย A tiny self-contained payment terminal: an ESP32 with a 2.8\" touch screen that displays a Thai PromptPay QR generated through Stripe , then flips to a green success screen (with a beep!) the moment the customer's payment lands. How it works 1. Enter the amount on the on-screen keypad (minimum 10 THB — Stripe's floor for PromptPay) 2. The board creates a PaymentIntent ( amount , currency=thb , payment method types[]=promptpay , confirm=true ) — one call to the fully documented Stripe API, and the response already contains the EMVCo QR payload 3. The QR renders on the white card; the board polls the PaymentIntent every 3 seconds 4. succeeded → full-screen green check + beep. Tap to return to the keypad. No Payment Link needed — a single secret key is enough to take payments. The library also keeps a legacy createQr() that derives the QR from a Payment Link via Stripe's undocumented checkout endpoints. It breaks with payment method types mismatch when the link doesn't offer PromptPay — prefer createQrDirect() . Getting your Stripe keys All three values come from the Stripe Dashboard: Value Where --- --- pk live ... publishable key Developers → API keys (only needed for the legacy Payment Link path) sk live ... secret key Developers → API keys (click Reveal ) plink ... payment link id (optional, legacy path only) Payment Links → create one — the id is in its details PromptPay must be enabled in Settings → Payment methods (Thai ","default_branch":null,"files":null,"tree":[],"storefront":"/r/moomdate","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/moomdate/CYD-PromptPay-Terminal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}