Sylvain
bc6ef8ef50
WIP: move backend code base to new architecture
...
- from stripe only to payment gateway abstract
- from reservation params style to unified cart_items
TODO: fix not passing tests,
subscriptions/renew_as_admin_test.rb fails because InvoiceItem(9).amount = nil
2021-04-23 17:54:59 +02:00
Sylvain
94cbcd3236
refactor to use the new price computation system based on ShoppingCart
2021-04-23 12:52:06 +02:00
Sylvain
e456ddc7c9
WIP: refactor the price computation system
2021-04-22 19:24:08 +02:00
Sylvain
26dfbef5e1
WIP: refactor models to use payment_gateway_objects
2021-04-21 17:38:06 +02:00
Sylvain
95a06f7d02
updated various dependencies
...
webpack, lodash, eslint, webpack-dev-server, react2angular, auto-ngtemplate-loader, angular-bootstrap-switch, react-refresh-webpack-plugin and eslint-plugin-react
2021-04-21 10:23:38 +02:00
Sylvain
434ec9c205
refactored Invoices to get rid of stripe references
2021-04-20 17:22:53 +02:00
Sylvain
5a06d55838
improved error handling in upgrade script
2021-04-19 17:07:03 +02:00
Sylvain
a897d37b2d
improved footprint debug process
2021-04-16 16:03:10 +02:00
Sylvain
4ffd357841
WIP: migrate stripe ids in DB
2021-04-16 12:25:48 +02:00
Sylvain
343b2f7d23
refactor code related to archiving
2021-04-16 10:34:02 +02:00
Sylvain
2b091acb75
fix the test fixtures
2021-04-16 09:06:29 +02:00
Sylvain
1bbb8c3965
move the architecture from stripe-only to gateway-generic
2021-04-15 17:01:52 +02:00
Sylvain
ddd1ac52d6
save reservation|subscription to db after payment
2021-04-14 17:56:10 +02:00
Sylvain
ad6926ec1a
[bug] unable to cancel the upgrade before it begins
2021-04-14 16:18:35 +02:00
Sylvain
07ea6e8c69
renamed SUPERADMIN_EMAIL to ADMINSYS_EMAIL
...
The previous was too much subject to confusions
2021-04-14 15:04:41 +02:00
Sylvain
4d3ead310d
do not run StripeWorker tasks is the gateway is not enabled
2021-04-14 12:18:37 +02:00
Sylvain
e7059cca5b
[bug] unable to set date formats during installation
2021-04-14 11:37:42 +02:00
Sylvain
4e512dda45
validate the payment server side
2021-04-13 17:16:05 +02:00
Sylvain
dbbf6b5f63
fix KryptonConfig
2021-04-13 11:33:15 +02:00
Sylvain
c0afe9419e
consolidated the payzen process with types
2021-04-13 11:30:30 +02:00
Sylvain
dca2651fb3
process payements with payzen
2021-04-12 17:37:09 +02:00
Sylvain
ef7dcd37d8
retreive the formToken from PZ API
2021-04-12 12:16:12 +02:00
Sylvain
b3720d7f47
direct the stripe endpoints to /api/stripe
2021-04-12 10:48:30 +02:00
Sylvain
fd5c3a87ce
rename /api/payment to /api/stripe
...
other payment gateways will have their own separate endpoints
2021-04-12 10:45:41 +02:00
Sylvain
f232e586ce
payment endpoint is specific to stripe
2021-04-12 10:44:20 +02:00
Sylvain
954a35f006
refactor api files
2021-04-12 10:42:54 +02:00
Sylvain
23032c405b
WIP: create the formToken server-side
2021-04-09 17:17:58 +02:00
Sylvain
fe5c4e6233
integrate the payzen form widget into the modal
...
Also: do not fetch the api from unmounted components
2021-04-09 12:09:54 +02:00
Sylvain
5e2c50a85f
PaymentModal : automatically determines the payment modal to used based on the configured payment gateway
2021-04-09 09:03:59 +02:00
Sylvain
4d0dc808e8
move stripe & payzen components folders into payment/
2021-04-09 08:47:34 +02:00
Sylvain
b5ab9fbc79
rename PaymentModal to AbstractPaymentModal
2021-04-09 08:40:46 +02:00
Sylvain
4f3a47ae04
move payment modal from /base to /payment
2021-04-09 08:39:03 +02:00
Sylvain
fb2abcc382
integrate payzen logo and other fixes
2021-04-08 17:11:48 +02:00
Sylvain
d70d0dcf7a
stripe modal -> generic payment modal
2021-04-08 15:21:24 +02:00
Sylvain
d091c44c11
fix: This object has been frozen and should not be mutated
2021-04-08 11:09:33 +02:00
Sylvain
6da577d4ae
reorganized react components
2021-04-08 10:46:09 +02:00
Sylvain
a55dd4dc71
display errors in fab-input
2021-04-08 10:00:19 +02:00
Sylvain
4a344ac9e3
reorganized react components
2021-04-08 09:35:09 +02:00
Sylvain
eea390bdd4
workaround for project rejection
2021-04-07 17:42:15 +02:00
Sylvain
4245747072
include payzen frontend libs if enabled
2021-04-07 17:17:17 +02:00
Sylvain
635e8d3356
use HtmlTranslate component
2021-04-07 16:25:14 +02:00
Sylvain
67d0ce24b4
set payzen currency
...
also: refactored the comments in the react components to fit high quality
2021-04-07 16:21:12 +02:00
Sylvain
df7893f65f
open modal to edit the keys of the payment gateway
2021-04-07 11:36:04 +02:00
Sylvain
94c4d318e1
fix top-margin
2021-04-06 18:05:08 +02:00
Sylvain
0cca08984f
use flex-start
2021-04-06 18:00:55 +02:00
Sylvain
36871a0b34
improved display
2021-04-06 18:00:13 +02:00
Sylvain
667f6f6229
show recapitulative of payzen settings
2021-04-06 17:47:47 +02:00
Sylvain
63c81b82c1
Merge branch 'dev' into payzen
2021-04-06 15:03:27 +02:00
Sylvain
3483e1355c
updated openlab + handle missing dev instance
2021-04-06 14:58:12 +02:00
Sylvain
e06f3beeab
[bug] notification not sent
...
notification sent to the project author when a collaborator has confirmed his participation
2021-04-06 14:16:03 +02:00