Commit Graph

176 Commits

Author SHA1 Message Date
Josh Creek 03157a6d2f fix(#45): Enable customer creation when creating a stripe checkout session 2024-10-20 17:21:43 +01:00
OllyNicholass b61983368c feat: display interval for subscriptions 2024-10-15 23:47:34 +01:00
OllyNicholass 43bd4e8026 refactor: product page data fetching 2024-10-15 23:36:24 +01:00
OllyNicholass ec684f9074 feat(#31): populate stripe checkout session email 2024-10-15 23:05:19 +01:00
Josh Creek 0b2b0fc7f3 Merge pull request #43 from jcreek/40-cookie-banner-displays-briefly-on-slow-connections
fix(#40): Ensure cookie banner doesn't initially show for users who have already accepted cookies
2024-10-15 20:57:02 +01:00
OllyNicholass 29f418cc91 feat(#34): update already purchased button 2024-10-15 20:48:51 +01:00
OllyNicholass 616009ea05 feat(#34): display message in place of add to basket for prior purchase 2024-10-15 20:30:21 +01:00
Josh Creek f46b6359ab refactor(*): Strongly type the return object 2024-10-15 20:06:51 +01:00
Josh Creek 79e2dcb744 refactor(*): Cast instead of declaring a new const 2024-10-15 19:54:11 +01:00
Josh Creek 15913ad413 fix(#40): Ensure cookie banner doesn't initially show for users who have already accepted cookies 2024-10-15 19:36:54 +01:00
Josh Creek 8221224255 feat(#6): Add proper pagination support 2024-10-15 19:31:37 +01:00
Josh Creek 36a8620e70 feat(#6): Add a basic product page using the db rather than stripe 2024-10-15 19:20:40 +01:00
Josh Creek e666aa95d0 Merge pull request #38 from jcreek/37-enable-tracking-usage-of-credits
37 Enable tracking credits usage with proof of concept test page
2024-10-08 21:08:12 +01:00
Josh Creek 73cb21d9de fix(#32): Strongly type the recurring string enum 2024-10-08 20:34:25 +01:00
Josh Creek e51aeb7c63 feat(#32): Strongly type the price.type 2024-10-08 20:32:24 +01:00
Josh Creek 2f7ec9860a feat(#32): Add separate flow for subscriptions 2024-10-08 20:14:29 +01:00
Josh Creek db3425ec96 feat(#37): Enable tracking credits usage with proof of concept test page 2024-10-08 19:39:28 +01:00
OllyNicholass c674eb7c8d refactor(#29): remove unused url
Removing as new MagicLink component doesnt need the prop
2024-09-24 20:50:18 +01:00
Josh Creek b2d4d005e1 feat(#29): Restyle navbar 2024-09-22 19:05:07 +01:00
Josh Creek d3a134891c feat(#29): Replace external magic link component 2024-09-22 13:11:07 +01:00
Josh Creek fce4c0e0a5 feat(#29): Add example product tool requiring purchase to access 2024-09-22 12:06:39 +01:00
Josh Creek a4764c547e feat(#29): Remove checkout button when not signed in 2024-09-21 20:51:00 +01:00
Josh Creek 05891ad510 feat(#29): Add ability to record that a user has purchased a product - part 2 2024-09-21 20:26:36 +01:00
Josh Creek d4f7f5041d feat(#29): Add ability to record that a user has purchased a product - part 1 2024-09-21 19:55:10 +01:00
OllyNicholass 6e1d38ef58 feat(#29): use magic link to sign in 2024-09-17 21:14:39 +01:00
OllyNicholass e1df81f104 refactor(#29): remove stripe sign up logic 2024-09-17 19:39:06 +01:00
OllyNicholass ec456a9b22 fix(#29): price record upsert 2024-09-17 19:38:33 +01:00
OllyNicholass 9089aa270b refactor(#29): centralise stripe client 2024-09-17 19:30:38 +01:00
OllyNicholass 49a9b079ea chore(#29): update generate database types location 2024-09-17 19:28:03 +01:00
Josh Creek 7e0c06bab3 fix(#29): Ensure updating subscription works properly 2024-09-10 21:47:46 +01:00
Josh Creek b365d77c16 feat(#29): Handle upserting new fields for products and prices 2024-09-10 21:25:44 +01:00
Josh Creek 723f7eddf7 feat(#29): Add additional stripe webhook event handlers 2024-09-10 20:54:59 +01:00
Josh Creek 31a81f6312 feat(#29): Add conditional switch for sign in/up or welcome message 2024-09-10 20:45:43 +01:00
Josh Creek cd1d4b7d71 chore(#29): Enable images with query params 2024-09-03 20:33:49 +01:00
Josh Creek f376a942b3 chore(#29): Remove redundant postcss file 2024-09-03 20:29:09 +01:00
Josh Creek 94de247d56 refactor(#29): Add strong typing to locals supabase 2024-09-03 20:27:59 +01:00
OllyNicholass 0990edab2e style(*): set min-height on main content 2024-07-16 21:29:03 +01:00
OllyNicholass 06fc2c2cd2 chore(*): use postcss to build styles 2024-07-16 19:19:25 +01:00
OllyNicholass 3fa3ace4ee fix(#14): remove empty pages 2024-07-05 16:07:06 +01:00
Josh Creek 67fcf8ea38 fix(#14): Replace throw with error log 2024-07-05 15:37:08 +01:00
Josh Creek 103ee16cec fix(#14): Fix invalid response 2024-07-05 15:07:33 +01:00
Josh Creek 337bc648ca fix(#14): Fix accessing private env var 2024-07-05 15:07:22 +01:00
Josh Creek a10d22d1f8 chore(#14): Strongly type supabase client 2024-07-04 20:05:22 +01:00
Josh Creek 540352657c feat(#14): Add stripe webhooks 2024-07-04 19:35:23 +01:00
Josh Creek f10e0537bd feat(#14): Replace profile page with account page 2024-07-04 19:33:51 +01:00
Josh Creek 113268614b feat(#14): Update code to match documentation 2024-07-04 19:27:52 +01:00
Josh Creek 83c8e44f33 feat(#14): Add db methods 2024-07-04 19:23:40 +01:00
Josh Creek 66698445f2 feat(#14): Update signup component to create a stripe customer on signup 2024-07-04 19:22:39 +01:00
Josh Creek 8b54177586 fix(#19): Fix really stupid sveltekit bug 2024-06-18 19:59:31 +01:00
Josh Creek addaeeee84 Merge pull request #16 from jcreek/2-replace-navbar-with-a-better-one
feat(#2): Begin replacing navbar
2024-06-18 19:53:03 +01:00