Sylvain
faae719fef
Removed unused imports
2022-08-23 15:15:49 +02:00
Sylvain
055b588ffc
Use union type instead of enum for SettingName
2022-08-23 13:12:13 +02:00
Sylvain
c0d5da55ce
linted all code expected profile-custom-fields/* and proof-of-identity/*
2022-06-21 12:10:00 +02:00
Sylvain
2033329342
linted all front code, excepted profile-completion/
...
and prrofile-custom-fields/
2022-06-20 15:35:38 +02:00
Sylvain
925e109175
all components must have their matching root class
2022-06-15 13:40:54 +02:00
vincent
4a995b3bd8
merge
2022-05-04 11:30:42 +02:00
Du Peng
97f7a0aac8
Fix bug: unable to show payment modal for stripe
2022-04-01 16:16:32 +02:00
Du Peng
043c5aafc5
Fix a bug: unable to show payment schedules list if active PayZen
2022-03-29 17:01:14 +02:00
Sylvain
512828931f
(bug) members are unable to buy prepaid-packs by wallet
2022-01-18 17:03:16 +01:00
Sylvain
28489e112c
renamed PaymentModal to CardPaymentModal
2022-01-18 16:27:12 +01:00
Sylvain
d7ccbdbb52
[bug] do not load Stripe if no keys were defined
2022-01-05 11:31:27 +01:00
Sylvain
effe5c7ba9
optimized the load time of the payment schedules list
...
From now, we no longer retrieve the client_secret directly from the API/list but from a specialized component which ask API/get_item.
This highly decrease the laod time needed to fetch API/list
2022-01-03 11:24:08 +01:00
Sylvain
9be0dcddd2
[bug] 3DS confirmation is not asked when an admin is subscribing a user through a payment schedule using PayZen
2021-10-22 17:53:02 +02:00
Sylvain
a3f680964c
handle stripe errors while local payments
2021-10-07 16:43:51 +02:00
Sylvain
3663f8ab86
full stripe subscription code refacto
...
TODO: test
2021-10-06 17:09:35 +02:00
Sylvain
d494b012d4
[ongoing] refactoring stripe subscription
2021-10-06 09:42:58 +02:00
Du Peng
6b763cc1c9
improve code for stripe subscription payment
2021-09-10 15:19:04 +02:00
Du Peng
2973dec6a7
rewrite payment schedule workflow by stripe
2021-09-08 18:57:10 +02:00
Sylvain
f6889fbfda
linted TSX files
2021-07-01 12:34:10 +02:00
Sylvain
1aad4891c1
buy prepaid-pack a hours from modal
2021-06-28 18:17:11 +02:00
Sylvain
bff5415a1e
refactor API services to use only static methods
...
Also: separate reserve-button component
2021-06-17 17:09:10 +02:00
Sylvain
ef69cab179
Merge branch 'hotfix' into dev
2021-06-09 19:40:07 +02:00
Sylvain
c5db9e36ba
fix udpate stripe keys modal
2021-06-09 16:49:36 +02:00
Sylvain
68f64cfc5c
update the card for payment schedules
2021-06-04 18:26:20 +02:00
Sylvain
81bc22c494
front-end adaptation for interacting with new object[] API
...
Also: [bug] handle not onnected users on subscription page
- fix showing an error message when no gateway is selected
2021-06-01 11:01:38 +02:00
Sylvain
c7a59c8cb7
WIP: refactoring to singularize the booking process
...
We need to achieve only one process for all booking, not one for subscription, one for reservations, etc.
Moreover we must store one object per invoice_item/payment_schedule_object and stop using Invoice.invoiced or PaymentSchedule.scheduled
2021-05-21 18:25:18 +02:00
Sylvain
c6bc9f1c15
handle gateway keys invalidation
2021-05-18 16:42:30 +02:00
Sylvain
23e38238c8
fix payment on site modal in case of payment schedule
2021-04-28 17:25:42 +02:00
Sylvain
30c1c91590
factorize payment form props
2021-04-28 16:41:15 +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
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