Sylvain
728ae4310c
improved testing of payment schedules + some fixes
...
TODO: fix the test
rails test test/integration/reservations/create_test.rb
Reservations::CreateTest#test_user_reserves_a_machine_and_renew_a_subscription_with_payment_schedule_and_coupon_and_wallet [test/integration/reservations/create_test.rb:841]
Minitest::Assertion: Expected: "stripe"
Actual: nil
2020-12-30 18:43:33 +01:00
Sylvain
dc00df4afc
fix stripe subscription w/ coupon + wallet
2020-12-30 12:19:33 +01:00
Sylvain
ffc3051444
TODO: handle coupon w/ stripe subscription
2020-12-29 19:08:43 +01:00
Sylvain
609d19e5d1
refactored subscription process + renew (update) subscription/ offre free days
2020-12-21 16:12:34 +01:00
Sylvain
2950eddb07
Updated environment documentation + removed unused rails.*.yml
2020-12-21 10:15:59 +01:00
Sylvain
c3c881d2a8
process the schedule to the stripe subscription
...
- only for subscriptions for now
- TODO: reservations (see app/services/reservations/reserv.rb:13)
2020-12-09 16:47:51 +01:00
Sylvain
1d64c517c9
create stripe's paymentIntent
...
associate the paymentMethod (the card) with the customer (the user)
for futur usages in subscriptions
2020-12-08 12:26:03 +01:00
Sylvain
7ed0f6141a
Merge branch 'dev' into monthly-payment
2020-12-07 10:29:34 +01:00
Sylvain
17907061db
New translations app.admin.en.yml (Portuguese)
2020-11-26 00:01:37 +01:00
Sylvain
b72a1991d6
New translations app.admin.en.yml (Portuguese)
2020-11-25 23:51:43 +01:00
Sylvain
9813bef907
New translations app.admin.en.yml (Portuguese)
2020-11-25 23:38:20 +01:00
Sylvain
8fe3ab8d36
New translations app.admin.en.yml (Portuguese)
2020-11-25 23:21:36 +01:00
Sylvain
4e556696cf
New translations app.admin.en.yml (Portuguese)
2020-11-25 22:52:55 +01:00
Sylvain
7b88f870c7
New translations app.admin.en.yml (Portuguese)
2020-11-25 22:42:27 +01:00
Sylvain
108206c527
New translations app.admin.en.yml (Portuguese)
2020-11-25 22:32:43 +01:00
Sylvain
04c20cf046
New translations app.public.en.yml (Portuguese)
2020-11-25 22:32:41 +01:00
Sylvain
d18d58b9bf
New translations app.public.en.yml (Portuguese)
2020-11-25 22:24:48 +01:00
Sylvain
bf62425c4e
New translations app.shared.en.yml (Portuguese)
2020-11-25 22:18:15 +01:00
Sylvain
65e4a62c12
New translations app.public.en.yml (Portuguese)
2020-11-25 22:18:13 +01:00
Sylvain
5cd7a2ad06
New translations app.shared.en.yml (Portuguese)
2020-11-25 22:05:21 +01:00
Sylvain
2ab881d9b5
New translations devise.en.yml (Portuguese)
2020-11-25 22:05:19 +01:00
Sylvain
d9317a52d5
New translations en.yml (Portuguese)
2020-11-25 22:05:17 +01:00
Sylvain
298589fe1b
New translations mails.en.yml (Portuguese)
2020-11-25 21:53:05 +01:00
Sylvain
cf86bd90dd
New translations app.logged.en.yml (Portuguese)
2020-11-25 21:53:03 +01:00
Sylvain
17e8e27830
New translations app.public.en.yml (Portuguese)
2020-11-25 21:42:01 +01:00
Sylvain
2f6707b8ff
New translations app.logged.en.yml (Portuguese)
2020-11-25 21:41:59 +01:00
Sylvain
f5709ef60e
get stripe payment method
2020-11-25 17:13:45 +01:00
Sylvain
6abee0cea0
define payment method before validating schedule
2020-11-18 16:01:05 +01:00
Sylvain
a56112a47f
using stripe api
2020-11-17 16:23:55 +01:00
Sylvain
678af0de1f
using stripe api + improved ui + ui to configure schedules reference
...
TODO: as an admin, I can select if payment_method = (stripe || local)
2020-11-16 16:37:40 +01:00
Sylvain
a321771040
user consent about payment schedule
2020-11-10 09:51:13 +01:00
Sylvain
2af6c8b9cc
style fix
2020-11-09 15:22:22 +01:00
Sylvain
0fe4f13110
component to display the payment schedule
2020-11-05 17:32:37 +01:00
Sylvain
7833b0924b
add other cart items to the first schedule
2020-11-05 14:55:06 +01:00
Sylvain
2fc9fd4028
show subscription summary in cart payment modal
2020-11-05 09:57:38 +01:00
Sylvain
b0afa02f1d
use cart directive on the plan subscription page
...
+ fix payment schedule compute
+ fix price for monthly-payments plans in plan-card
+ TODO: valid_reservation_modal.html
+ TODO: Stripe processing
2020-11-04 16:22:31 +01:00
Sylvain
21bd1312bc
compute payment schedule + basic display
2020-11-03 16:50:11 +01:00
Sylvain
7084e88d2d
display monthly price for compatible plans
2020-11-02 12:29:08 +01:00
Sylvain
4bdcb44e33
Merge branch 'dev' into monthly-payment
2020-10-29 15:53:38 +01:00
Sylvain
5ad7a317ab
Merge pull request #235 from sleede/l10n_dev
...
New Crowdin updates
2020-10-28 12:22:56 +01:00
Sylvain
d1f28900cb
New translations app.public.en.yml (French)
2020-10-28 12:14:50 +01:00
Sylvain
9afd7842b8
New translations app.public.en.yml (French)
2020-10-28 12:13:29 +01:00
Sylvain
d9055bb7c5
New translations app.public.en.yml (Spanish)
2020-10-28 12:13:23 +01:00
Sylvain
42ef888f15
New translations app.public.en.yml (Portuguese)
2020-10-28 12:13:17 +01:00
Sylvain
cb205920a0
New translations app.public.en.yml (Zulu)
2020-10-28 12:13:08 +01:00
Sylvain
44525f9bad
Merge branch 'dev' into monthly-payment
2020-10-28 09:53:28 +01:00
Sylvain
84fc81e618
Display a message when no plans are available
2020-10-28 09:53:11 +01:00
Sylvain
5f93e6d3be
plan creation: set if it allows monthly payments
2020-10-27 13:06:37 +01:00
Sylvain
26c8453f4b
New translations app.admin.en.yml (French)
2020-10-27 08:10:56 +01:00
Sylvain
3651164d56
New translations app.admin.en.yml (Zulu)
2020-10-26 16:59:33 +01:00