13 Commits

Author SHA1 Message Date
Callum McIntyre
017d78eb37 make the shop the fee payer 2022-04-05 19:55:59 +01:00
Callum McIntyre
794430cb88 Test: display transaction request URL on shop/checkout page 2022-04-01 14:27:26 +01:00
Callum McIntyre
2f151312b4 Apply the coupon discount when coupon token balance is high enough 2022-03-27 17:12:08 +01:00
Callum McIntyre
f552f3d6fd Show coupon balance + send coupon on purchase 2022-03-25 15:42:03 +00:00
Callum McIntyre
6e2a127510 Add the create-coupon script 2022-03-25 15:15:31 +00:00
Callum McIntyre
6f8aba4427 Support GET request to makeTransaction API 2022-03-25 14:56:28 +00:00
Callum McIntyre
5b46d85f62 Detect payment on the /shop/checkout page 2022-03-25 14:38:05 +00:00
Callum McIntyre
22539b7fbe Add the shop page and checkout displaying a QR code 2022-03-25 11:33:30 +00:00
Callum McIntyre
2a15606b68 Update the app to charge in USDC instead of SOL 2022-03-25 10:48:55 +00:00
Callum McIntyre
f5fad1e5e3 Add /confirmed page and redirect after the transaction 2022-03-25 10:16:46 +00:00
Callum McIntyre
5e41c31eab Fetch + send transaction on checkout page 2022-03-24 17:34:07 +00:00
Callum McIntyre
6ed7e5844d Connect wallet + create transaction using API 2022-03-24 13:27:41 +00:00
Callum McIntyre
5459caa026 Add starter code: products display + checkout amount 2022-03-18 16:42:23 +00:00