Commit Graph

97 Commits

Author SHA1 Message Date
fd1d1808f0 Create methods to create a Stripe customer and subscribe to a plan 2024-08-12 14:06:39 +02:00
0b35136d3f Create a handler for the POST request after a user is subscribed 2024-08-12 13:49:50 +02:00
01690d0236 Js for plan 2024-08-12 13:31:16 +02:00
fde0fdb7fa Working on js for plans 2024-08-11 22:58:06 +02:00
85c1928c31 move some common parts in common.js 2024-08-11 22:51:34 +02:00
16e5845559 Creating front end page for plans 2024-08-11 22:08:55 +02:00
a564ecb342 Revising virtual terminal 2024-08-11 12:30:57 +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
f3f0bf531c move migrations out 2024-08-07 15:51:25 +02:00
1372542620 Getting more info abount transaction ad move js partial to js file 2024-08-07 14:35:30 +02:00
625929cf25 fix incoherence of amount between pages 2024-08-07 12:17:26 +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
00a2d639f5 Running database migrations 2024-08-06 21:53:39 +02:00
ab4fda918a Creating a database table for items for sale 2024-08-06 21:35:28 +02:00
90918f25ae Testing the transaction functionality 2024-08-06 21:18:32 +02:00
f952caf3f6 Creating a formatCurrency function 2024-08-06 20:52:46 +02:00
20f7bd529f Update the Widget page to use data passed to the template 2024-08-06 20:49:21 +02:00
30976a55e8 Create models and modify the handler to take a struct 2024-08-06 14:10:25 +02:00
7e0df51d88 Add a js file that doesn't work for now 2024-08-06 13:59:54 +02:00
525e4fe50d Moving js to a reusable file and change the dir for the img 2024-08-06 13:59:54 +02:00
f398af39eb Creating the product form and the navbar 2024-08-06 13:36:49 +02:00
e067b4ba62 Creating a product page 2024-08-06 13:29:32 +02:00
42b8708243 Connecting to the database 2024-08-04 23:06:13 +02:00
d3e477eebd passing key using form 2024-08-04 18:35:34 +02:00
bfaf8965b3 Generating a receipt page 2024-08-04 18:17:56 +02:00
48695949e3 Updating the front end JS to call paymentIntent handler 2024-08-04 17:34:39 +02:00
1b4d1aef58 Getting the paymentIntent 2024-08-04 16:52:03 +02:00
75f8e16cfe rename card to cards to avoid conflicts with stripe card 2024-08-04 16:36:59 +02:00
6c2b49ab07 add air.toml to gitigore and not commit it anymore because of creds 2024-08-04 16:28:28 +02:00
41cd4cc055 Getting the paymentIntent set up route and handler in API 2024-08-04 16:26:02 +02:00
79215d5fe1 add makefile support 2024-08-04 16:25:16 +02:00
d1ec41cc47 add more ignore files 2024-08-04 16:24:01 +02:00
c645154836 Client side validation 2024-08-04 15:06:41 +02:00
e30dc5865e Connecting our form to stripe.js 2024-08-04 14:55:29 +02:00
00b58c5b3a Creating the form 2024-08-04 14:40:32 +02:00
a5f92f7ffa add a note file 2024-08-03 22:28:33 +02:00
0bb8fc7116 Update go tmpl name 2024-08-03 22:26:54 +02:00
29902fc2f1 Setting up routes and building a render function 2024-08-03 21:57:24 +02:00
a7c561dd65 Setting up a web application 2024-08-03 12:17:39 +02:00
364d3a5557 create go module 2024-08-02 18:22:45 +02:00
3e6b5d6e25 add docker file for mariadb 2024-08-02 18:20:00 +02:00
2e2f1d6a0e add gitignore 2024-08-02 18:18:58 +02:00