Skip to content

Commit 96bd2d5

Browse files
Krish-2118claude
andcommitted
remove qr code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent e0f4b63 commit 96bd2d5

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ The registration APIs (`/api/register`, `/api/upload`) check the same switch on
196196
Edit [`src/config/payment.ts`](src/config/payment.ts). The fee must match `REGISTRATION_FEE_INR` in
197197
[`src/lib/security.ts`](src/lib/security.ts), which is what the server records. Then regenerate
198198
`public/assets/upi-qr.svg` from the new `UPI_PAY_LINK` as a single byte-mode segment (see the comment in
199-
`payment.ts`), and scan it to check before deploying.
199+
`payment.ts`), and scan it to check before deploying. Until the organisers send the real QR, `upi-qr.svg` is a
200+
"coming soon" placeholder.
200201

201202
### Add gallery photos
202203

‎public/assets/upi-qr.svg‎

Lines changed: 1 addition & 1 deletion
Loading

‎src/config/payment.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
* The server never reads these: POST /api/register always records REGISTRATION_FEE_INR from src/lib/security.ts.
55
* Keep REGISTRATION_FEE in step with it (a unit test checks they match).
66
*
7-
* public/assets/upi-qr.svg encodes UPI_PAY_LINK. If the UPI ID, payee name or fee changes, regenerate it from the new
7+
* public/assets/upi-qr.svg is currently a non-scannable "PAYMENT QR / COMING SOON" placeholder; the organisers will
8+
* supply the real QR (and its UPI ID and payee name, which must replace the values below) before registrations open.
9+
*
10+
* The real QR must encode UPI_PAY_LINK. If the UPI ID, payee name or fee changes, regenerate it from the new
811
* link as ONE byte-mode segment, error correction M, e.g. with the `qrcode` package:
912
* QRCode.toString([{ data: UPI_PAY_LINK, mode: 'byte' }], { type: 'svg', errorCorrectionLevel: 'M', margin: 1,
1013
* color: { dark: '#0c0b0aff', light: '#ECE8DFff' } })

0 commit comments

Comments
 (0)