Commit Graph

41 Commits

Author SHA1 Message Date
Muyao CHEN
c22b5d2372 fix: potential context leak 2024-10-03 23:41:39 +02:00
3d5212fb53 Add BE validator 2024-08-27 14:38:37 +02:00
3f0ddf7138 delete users 2024-08-26 14:10:18 +02:00
d16793c01c add user db functions 2024-08-23 14:10:44 +02:00
0f0c896065 pagination all-subscriptions 2024-08-23 10:13:50 +02:00
c8b032236b pagination all-sales 2024-08-23 10:04:06 +02:00
63585e31f6 Creating db method to paginate all orders 2024-08-22 21:48:14 +02:00
c697da63b9 cancel subscription 2024-08-22 21:34:58 +02:00
059638f3a7 finish refund 2024-08-22 14:33:36 +02:00
d271e23861 use jsonResponse & refund back 2024-08-22 13:38:51 +02:00
1984024394 get sale 2024-08-21 23:43:16 +02:00
8fb1844dcd all subscriptions 2024-08-21 23:27:33 +02:00
21273c22cb Listing all sales database function 2024-08-21 22:39:30 +02:00
6e3f283a64 Adding encryption package to encrypt email 2024-08-21 14:22:40 +02:00
b98b61aa76 Creating backend to handler password resets 2024-08-21 12:54:25 +02:00
7db64eff6a Using urlsigner package 2024-08-21 11:44:38 +02:00
7a7a823715 Implementing signed links for email message 2024-08-21 11:34:25 +02:00
a6d54242bb Protecting routes on hte FE and improving authentication 2024-08-20 21:45:13 +02:00
1fce6f6a48 check expiry 2024-08-19 22:35:40 +02:00
4a756e850e Validating the token on the back end 2024-08-19 22:22:40 +02:00
769a24dff3 Saving token to local storage 2024-08-13 22:46:26 +02:00
e7f6983a22 Saving token to DB 2024-08-13 22:00:07 +02:00
6b7ce5b719 Create a function to generate a token 2024-08-13 21:39:33 +02:00
d82d4c754e Fix some errors 2024-08-13 14:12:40 +02:00
4ec1d8c5a2 Auth 2024-08-13 13:47:56 +02:00
5ab6ad85f7 Saving transaction & customer info 2024-08-12 19:10:27 +02:00
fd1d1808f0 Create methods to create a Stripe customer and subscribe to a plan 2024-08-12 14:06:39 +02:00
16e5845559 Creating front end page for plans 2024-08-11 22:08:55 +02:00
5ad4464b28 Saving more details, redirecting and simplifying the succeed handler 2024-08-11 12:01:05 +02:00
8e482aa712 save orders 2024-08-10 11:10:27 +02:00
88be25d77f add customers 2024-08-07 16:22:52 +02:00
1372542620 Getting more info abount transaction ad move js partial to js file 2024-08-07 14:35:30 +02:00
6d4b8236a5 Inserting a new order 2024-08-07 12:10:44 +02:00
46386b19a3 inserting a new transaction 2024-08-07 12:07:21 +02:00
85cd4dfc1f Update db function and add to web-back 2024-08-07 11:56:53 +02:00
d32667acd1 Creating database models 2024-08-06 22:07:34 +02:00
ab4fda918a Creating a database table for items for sale 2024-08-06 21:35:28 +02:00
30976a55e8 Create models and modify the handler to take a struct 2024-08-06 14:10:25 +02:00
42b8708243 Connecting to the database 2024-08-04 23:06:13 +02:00
75f8e16cfe rename card to cards to avoid conflicts with stripe card 2024-08-04 16:36:59 +02:00
41cd4cc055 Getting the paymentIntent set up route and handler in API 2024-08-04 16:26:02 +02:00