Commit Graph
538 Commits
Author SHA1 Message Date
daniel.subiabre b2e10f09d4 Merge pull request #30 from GoteoFoundation/feat/add-wallet
[feat] Add Wallet Gateway
2024-11-11 11:21:08 +01:00
daniel.subiabre 8273ee8850 Add assertions to test for financements in wallet service test 2024-11-11 11:16:33 +01:00
daniel.subiabre 964989aaeb Fix wallet tests 2024-11-11 10:46:56 +01:00
daniel.subiabre 8630957dd9 Use financement entity to hold money amounts drawed between wallet statements 2024-11-11 10:09:01 +01:00
daniel.subiabre 621b0b96d8 No space after fn for short arrow functions 2024-11-07 15:15:26 +01:00
daniel.subiabre 07fae1cb48 Updte StripeGateway dependencies usage 2024-11-07 15:03:44 +01:00
daniel.subiabre 83a9ec70fa Improve OPCache config 2024-11-07 14:56:55 +01:00
daniel.subiabre b76a1fdc38 Fix tests 2024-11-07 13:19:16 +01:00
daniel.subiabre 31eccc52af Update accounting owner getting 2024-11-07 13:17:33 +01:00
daniel.subiabre 13102fc1d2 Remove unnecessary listener for accounting ownership inverse side setting 2024-11-07 13:17:17 +01:00
daniel.subiabre 8ee27990bd Save inverse side of accounting ownership 2024-11-07 13:16:55 +01:00
daniel.subiabre a7a243341b Remove dependencies on GatewaysCompilerPass 2024-11-07 12:16:19 +01:00
daniel.subiabre 1c7c937729 Remove gateways static names compilation 2024-11-07 12:15:35 +01:00
daniel.subiabre a3e5ffe65c Remove GatewayName validation 2024-11-07 12:14:58 +01:00
daniel.subiabre 9602028d1d Filter null values in product_data array 2024-11-07 12:05:46 +01:00
daniel.subiabre bd5aff193f Process checkout as api resource 2024-11-07 12:05:30 +01:00
daniel.subiabre f9ea60290b Update charge docblocks 2024-11-07 11:41:52 +01:00
daniel.subiabre 5d24dfaac3 Allow to map charge to entity 2024-11-07 11:41:40 +01:00
daniel.subiabre 3a840e53cc Add Gateway mapping 2024-11-07 10:30:49 +01:00
daniel.subiabre a980129bae Dedicated api resource for charge 2024-11-06 15:49:43 +01:00
daniel.subiabre 25080c4582 Move accounting entity<->resource mapping to dedicated class 2024-11-06 15:47:20 +01:00
daniel.subiabre d6668a29be Standarise entity migration metadata via trait 2024-11-06 14:45:08 +01:00
daniel.subiabre f344ea179d Rename Timestampable* traits to Timestamped 2024-11-06 14:29:17 +01:00
daniel.subiabre ebde320e80 Simplify AccountingOwnerInterface 2024-11-06 14:27:05 +01:00
daniel.subiabre 4a97a6277c Refactor Gateway api resource provision 2024-11-06 14:22:11 +01:00
daniel.subiabre 391464d5ca Simplify Checkout entity 2024-11-06 14:14:09 +01:00
daniel.subiabre 90767e2912 Update Accounting api resource I/O 2024-11-06 10:16:37 +01:00
daniel.subiabre 0e786f8ab2 Move Gateways outside of Library 2024-11-05 16:09:08 +01:00
daniel.subiabre 3f012c9542 Move Accounting and Gateway from prefixes to namespaces 2024-11-05 14:32:59 +01:00
daniel.subiabre ab9b73747c Remove whitespace 2024-10-29 14:14:15 +01:00
daniel.subiabre f6f1bcd042 Update checkouts pump 2024-10-29 14:13:59 +01:00
daniel.subiabre 2d4c04ccf8 Add checkout processing to wallet 2024-10-29 14:13:47 +01:00
daniel.subiabre 9f931a2626 Fix Wallet spend calculations 2024-10-29 12:41:52 +01:00
daniel.subiabre aedef561a6 Add return type annotation 2024-10-29 12:41:13 +01:00
daniel.subiabre 4cc9c97ff1 Improve WalletGatewayServiceTest code 2024-10-29 12:40:32 +01:00
daniel.subiabre 2a59bdd4f5 Test that wallet statements are FIFO 2024-10-29 12:33:26 +01:00
daniel.subiabre d2ab2d98fe Avoid double persisting entity 2024-10-28 15:09:44 +01:00
daniel.subiabre 9bdeccb381 Rename ApiResourceNormalizer to generic ApiService 2024-10-28 15:00:03 +01:00
daniel.subiabre 7677f83c4d Set accounting in owner side 2024-10-28 14:08:10 +01:00
daniel.subiabre 554bcc5cb3 Code improvements 2024-10-28 13:44:35 +01:00
daniel.subiabre 3683146f3f Simplify skip pumped by default 2024-10-28 13:43:38 +01:00
daniel.subiabre 474042f0f4 Update PumpInterface to get config key value instead of config array at key 2024-10-28 13:43:01 +01:00
daniel.subiabre 0397912cad Fix users dates pumping 2024-10-28 13:09:53 +01:00
daniel.subiabre f50d0352e1 Fix typos 2024-10-28 12:54:52 +01:00
daniel.subiabre 103ae437e0 Fix accountings state provider 2024-10-25 14:41:23 +02:00
daniel.subiabre 626c09bdab Expose custom api resource for accounting 2024-10-25 14:36:21 +02:00
daniel.subiabre 28d0fc5764 Update accounting entity ahead of being api resrouce 2024-10-25 14:36:02 +02:00
daniel.subiabre 739bb2691f Add ApiResource entities 2024-10-25 14:25:29 +02:00
daniel.subiabre 8b52c125ff Style fixes by CS Fixer 2024-10-25 12:29:22 +02:00
daniel.subiabre 6a4f97bc51 Pass WalletGatewayServiceTest 2024-10-25 12:28:01 +02:00