Sylvain
8358826afc
added public_agenda_module to fixtures
2021-06-15 12:19:12 +02:00
Sylvain
524e92b499
test payment schedules controller
2021-06-14 16:07:16 +02:00
Sylvain
7cfa2ca2c7
fix passing payzen tests
2021-06-14 14:53:59 +02:00
Sylvain
7ba2d58f50
update VCR to 6.0.0
...
Also: - updated cassettes
- Automated stripe secrets filtering in cassettes
- Improved display when no plan-categories exists
2021-06-11 14:29:30 +02:00
Sylvain
13fae70277
test payzen endpoints
2021-06-09 18:48:51 +02:00
Sylvain
39fe153267
fix table name in rollback migration
2021-06-07 09:56:03 +02:00
Sylvain
209bde9f28
refreshed all footprints in fixtures, all tests passing
2021-05-31 17:14:42 +02:00
Sylvain
d0011a10f0
check for slots restricted to subscribers at cart level
2021-05-31 15:39:56 +02:00
Sylvain
55b0e25ee9
generate footprints in a reproductible way
2021-05-31 12:53:28 +02:00
Sylvain
36e173fb43
test presence of footprint debug data
2021-05-31 12:19:28 +02:00
Sylvain
db58ee28c0
migration to object[]
...
TODO: fix invoices checksums
2021-05-31 11:52:53 +02:00
Sylvain
d942d46632
WIP: migration to object[]
...
TODO: fix running tests, fix front-end
2021-05-28 17:34:20 +02:00
Sylvain
6cd74ac33e
remove references to PaymentSchedule.scheduled
2021-05-27 16:11:23 +02:00
Sylvain
5f5ec8dbb6
remove references to Invoice.invoiced
2021-05-27 15:58:55 +02:00
Sylvain
13f50c0e33
remove references to WalletService.transactable
2021-05-27 13:43:54 +02:00
Sylvain
16df7f9506
fix data migrations + update test fixtures
2021-05-27 11:31:07 +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
66f81a975e
WIP: array of items
...
Migration from cart_items:{reservation:{}, subscription:{}, ...}
to cart_items:{items:[{reservation:{}, ...}], ...}
2021-05-19 18:12:52 +02:00
Sylvain
4c605a8324
fix footprints in fixtures
2021-04-27 12:43:43 +02:00
Sylvain
da372cf8ad
fix test Events::AsUserTest
...
the event price calculalation was using a variable not reinitialized
2021-04-26 16:38:00 +02:00
Sylvain
6b8f7da98c
migrate js clients to new architecture
2021-04-26 11:41:02 +02:00
Sylvain
b9e8c8867c
fix running test renew_as_admin_test
2021-04-26 11:40:26 +02:00
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
26dfbef5e1
WIP: refactor models to use payment_gateway_objects
2021-04-21 17:38:06 +02:00
Sylvain
434ec9c205
refactored Invoices to get rid of stripe references
2021-04-20 17:22:53 +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
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
1749dea0e2
fix tests
2021-03-23 12:32:59 +01:00
Sylvain
39a7e23881
Improved style of public plans page
2021-03-22 13:13:51 +01:00
Sylvain
8b13ae45ac
all tests passing
2021-01-04 16:26:52 +01:00
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
8a808dbb2f
improve testing reservation w/ payment schedule
2020-12-29 11:33:38 +01:00
Sylvain
40c78974b8
refactoring of reservation:pay_and_save
...
TODO: debug with tests,
refactor subscription:pay_and_save on the same template
2020-12-16 18:33:43 +01:00
Sylvain
6c8d65fba1
test reservation with schedule by admin
2020-12-15 17:14:58 +01:00
Sylvain
a5e48fa379
test subscription with schedule by admin
2020-12-15 17:01:54 +01:00
Sylvain
e3a81f6dbe
test reservation with schedule by user
2020-12-15 16:53:11 +01:00
Sylvain
ccff463165
test subscription with schedule by user
2020-12-15 15:48:13 +01:00
Sylvain
908ccf5bab
handle reservations+subscription w/ schedule
...
integration testing for payment schedule
debug reservation process
2020-12-14 17:42:23 +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
7d37174b51
[bug] when a cash coupon was used, an invalid amount is shown in the statistics
2020-11-04 15:53:40 +01:00
Sylvain
4bd26dc558
test members export
2020-07-22 13:01:52 +02:00
Sylvain
33c3eb06e7
test subscriptions export
2020-07-22 12:34:11 +02:00
Sylvain
807481db98
test reservations export
2020-07-22 12:23:01 +02:00
Sylvain
15b9c7b4b9
test export availabilites
2020-07-22 11:16:43 +02:00
Sylvain
19fb816d36
Enhanced rake task to create fixtures for test cases
2020-07-22 09:45:20 +02:00
Sylvain
7bf06ff23e
debug footprints
2020-07-21 19:25:21 +02:00
Sylvain
0cd3f4a8b9
[bug] enabling auth_provider from the tests happens twice in coverall context
2020-07-01 18:12:14 +02:00
Sylvain
b0c6ab7ab4
test create and active new auth provider
2020-06-30 14:25:51 +02:00