Gaetan Craig-Riou
|
f5b9ca361c
|
Use the voucher adjustment amount for redeeming
|
2024-11-28 13:35:01 +01:00 |
|
Gaetan Craig-Riou
|
1e6fbadd8b
|
Fix Vine::VoucherRedeemerService to handle exceptions
|
2024-11-28 13:35:01 +01:00 |
|
Gaetan Craig-Riou
|
d102652c03
|
Fix Vine::VoucherValidatorService to handle exceptions
|
2024-11-28 13:35:01 +01:00 |
|
Gaetan Craig-Riou
|
1b50217242
|
Re worked the Vine::ApiService to raise exception on error
Log Client and Server error, and re raise exception for the caller
to handle
|
2024-11-28 13:35:01 +01:00 |
|
Gaetan Craig-Riou
|
d413a142c9
|
Update various voucher related file to use the new Vouchers::Vine
|
2024-11-28 13:35:01 +01:00 |
|
Gaetan Craig-Riou
|
48ad7ed8a0
|
Add voucher used by multiple enterprise and recycle code scenario
Plus optimise code with `find_or_initialize_by` as suggested in review
|
2024-11-28 13:35:01 +01:00 |
|
Gaetan Craig-Riou
|
d7313ffec9
|
Per review, improve Vine::VoucherValidatorService
plus specs
|
2024-11-28 13:35:01 +01:00 |
|
Gaetan Craig-Riou
|
0569b30e0d
|
Refactor Vine related services
Move them under Vine module to keep the code nicely organised
|
2024-11-28 13:35:01 +01:00 |
|