ttt161
cbb500631e
TD-600: add terminal option for override fd logic ( #80 )
...
* TD-600: add fd_overrides opts to terminal
* TD-600: bump damsel
* TD-600: resolve conflict
* TD-600: bump damsel
* TD-600: add test
* TD-600: cleanup
---------
Co-authored-by: anatoliy.losev <losto@nix>
2023-05-24 10:16:20 +03:00
Артем
2bf8307189
TD-482: Cashflow refactoring ( #57 )
...
* Merge branch 'TD-326/ft/refund' into TD-482/ft/cashflow_refactoring
* moved cashflow code to utils
* finished first version
* fixed after merge
2023-05-23 12:32:41 +03:00
ttt161
9d46f1fbd7
TD-572: Get payment routes limit values ( #79 )
...
* TD-572. impelementation get_limit
* TD-572: add test for get_limits
* TD-572: fix formatting
* TD-572: add test for exception
* TD-572: change limits output format
* TD-572: fix spec
* TD-572: fix naming, add test
---------
Co-authored-by: anatoliy.losev <losto@nix>
2023-05-19 17:43:59 +03:00
Aleksey Kashapov
e87b1e2ccf
TD-597: Updates invoice payments testcases to support provider failure results with transaction ( #75 )
2023-05-15 15:40:11 +03:00
Артем
6a51744e9c
TD-326: Refund refactor ( #46 )
...
* Merge remote-tracking branch 'origin/TD-326/ft/new_staff' into TD-326/ft/refund
* changed gproc to process dictionary
* added refund
* added new refund integration
* fixed
* refactored container
* fixed
* fixed cover
* added container asserts
* Revert "changed gproc to process dictionary"
This reverts commit a27bd8f298
.
# Conflicts:
# apps/hellgate/src/hg_container.erl
# apps/hellgate/src/hg_context.erl
* fixed after merge
* fixed tests
* refactored payment status change
* added requested changes
* added requested changes
* added refund callback test, fixed callback
* reseted cache
* fixed after merge
* fixed
2023-05-15 11:01:59 +03:00
Aleksey Kashapov
cbb33d6782
TD-597: Makes dummy provider implementations to use different trx id ( #74 )
2023-05-12 19:37:34 +03:00
Aleksey Kashapov
f70f7cc392
TD-596: Fixes attempted routes filtering ( #73 )
2023-05-11 13:23:32 +03:00
Aleksey Kashapov
6d3bb0053e
TD-592: Refactors transient errors list for cascade ( #72 )
2023-05-10 17:15:26 +03:00
Aleksey Kashapov
c95fa0367b
TD-586: Adds cascade testcase for refund ( #69 )
2023-05-10 17:02:53 +03:00
ndiezel0
14518ef276
TD-574: Update damsel ( #70 )
2023-05-10 13:15:47 +05:00
Aleksey Kashapov
4cc8e5d30d
TD-586: Move cascade hook to processing_failure
activity handling ( #68 )
...
* Refactors merge_change for payment status change and cascade
context log message.
* Adds payment success testcase with multiple failing routes
2023-05-03 10:31:31 +03:00
Aleksey Kashapov
36f3b27ec0
TD-584: Allows to continue with processing failure ( #67 )
...
* Refactors merge_change for payment status change and cascade
context log message.
* Prevents rollbacked cash flow to get in the way.
* Updates test cases to complete till invoice' final status.
2023-04-25 17:13:35 +03:00
Aleksey Kashapov
e255a8e9a3
TD-568: Adds failure reason form no_route_found
dynamic error ( #66 )
...
* Adds rejected routes failure reason when route not_found on limit overflow checks
* Modifies testcases to verify failure's reason
2023-04-24 10:33:08 +03:00
Aleksey Kashapov
0eae6c2455
TD-578: Adds cascade attempt log messages ( #65 )
...
* Fixes failure code for cascade trigger
* Refactors failure checks into payproc_errors notation functions
* Bumps payproc_errors
2023-04-19 14:32:19 +03:00
Aleksey Kashapov
bfccd439a3
TD-550: Limit hold exception to reject route ( #64 )
...
* Refactor `hg_routing:to_rejected_route/2`
* Adds new limiter hold exceptions handling
* Adds rejected routes log message on limit overflow
* Adds testcase for limit hold fail with multiple route candidates
2023-04-17 11:30:24 +03:00
Aleksey Kashapov
de0c01cfe4
CM-25: Adds limit changes queue for id BC ( #63 )
2023-03-28 13:59:47 +03:00
Aleksey Kashapov
d128e196be
CM-25: Adds crutch for serving legacy plan ids ( #62 )
...
`commit_payment_cashflow` and `rollback_payment_cashflow` will try
legacy plan id construction if normal not found.
2023-03-28 12:21:12 +03:00
Aleksey Kashapov
72aaddd6e3
CM-23: Adds routes attempt_limit support ( #61 )
...
* Implements route cascading for payments
* Introduce config option `card_blocked_failure`
* Adds routes cascading testcase group
* Bumps payproc_errors and patches limiter helper for ct
* Bumps erlang-checks cache version
2023-03-24 12:52:13 +03:00
Aleksey Kashapov
c651112753
VEN-10: Support limiter versioned config ( #60 )
...
* Upgrade dependencies and docker compose images
* Updates dmt_client ref
* Adds domain revision support as argument in limiter calls
* Reorder dmt configuration calls in suite initialization to ensure fixture documents use setuped limiter configs
2023-03-13 15:26:15 +03:00
Артем
8b2a101523
APM-286: Bump damsel ( #58 )
...
* bumped
* bumped to valitydev/damsel@e1d028d
2023-01-16 14:46:48 +03:00
ndiezel0
edfb7be342
OPS-170: Add RegisterInvoicePayment ( #49 )
...
* OPS-170: Add RegisterInvoicePayment
* Lots of fixes
* Remove deprecated payment_system_is
* Fix cost
* Fix cost again
* Modify next_event to give exact amount of events
* Fix test
* Fix capture session and add RegisteredOrigin to InvoicePayment
* Add adjustment and refund test for registered payment
* Add limits add commiting of cashflow to register
* Fix commit cashflow
* Add customer register test
* Format
* Move commits to separate timeout
* Use all kinds of payers
* Update damsel
* Remove Prohibited Origin exception
* Export some functions
* Compile fix
* Fix
* Fix
* Fix
* Fix some spec errors
* Fix
* More spec fixes
* More spec fixes
* Increment cache
* Remove payment tool validation
* Reuse cashflow construction and refactor a little
* Fix
* Hide pull change code in invoicing client
* Fix
* Fix
* Fix
* Fix partial capture test change order
* Hide next change default timeout behind define
* Remove kv_storage from invoicing client
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Review fix
* Update damsel
* Fix merge
* Add timeout to pull_change
* Add next_changes to Suite
* Use ?trx_info more
* Fix matching
* Review fixes
* Review fixes
* Fix
* Add test to check limit working
* Try to add extra stage for hold
* Update damsel
* Review fixes
* Try to fix build
* Try to fix build
* Try to fix build
* Try to fix build
* Try something else
* Update erlang-workflows
* Update erlang-workflows
* Move erlang-workflow to release
* Fix
* Move castom merge_change usage to hg_invoice_registered_payment
* Review fix
* Simplify registration
* Review fixes
* Fix
* Fix
* Fix spec
* Format
2022-12-06 12:26:44 +05:00
renovate[bot]
fe4313ad40
Update valitydev/erlang-workflows action to v1.0.10 ( #54 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-24 17:08:45 +05:00
renovate[bot]
6ad4663c16
Add renovate.json ( #1 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pavel Popov <tolkonepiu@users.noreply.github.com>
Co-authored-by: Alexey S <kehitt@users.noreply.github.com>
Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
2022-11-24 16:31:12 +05:00
Артем
c1dc781c44
TD-435: Add payment provision terms allow support ( #53 )
...
* added allow support
* changed cache version to 2
* revert cache change
* Revert "revert cache change"
This reverts commit 6a57cc9cdc
.
* added tests
2022-11-16 12:26:33 +04:00
Andrew Mayorov
9a25ce678e
OPS-220: Ensure backward compatibility @ session events ( #52 )
2022-11-02 13:52:22 +03:00
Andrew Mayorov
2412b220a0
OPS-220: Emit user interaction completion events ( #51 )
...
Bump to valitydev/damsel@6655937
2022-11-01 22:57:23 +03:00
Alexey S
f1f4d8a8fd
TD-352: Single stage adjustments ( #45 )
2022-10-27 09:35:56 +00:00
Артем
cc4ad884ee
TD-326: Add session module ( #41 )
...
* added session module
* added hg session integration, fixed
* fixed
* fixed
* added trx undefined check
* Revert "Auxiliary commit to revert individual files from 1000aa50dfe327a5ac11c6b461045a58182e110f"
This reverts commit 7061b5558ba0853c32a1bcac0061ba7854c7b734.
* added set trx function
* fixed
* fixed minors
* refactored event wrap
* fixed
* refactored fd
* fixed minor
2022-10-18 21:00:01 +04:00
Артем
cad6ad4ef9
TD-385: Bump damsel ( #50 )
...
* bumpted to valitydev/damsel@6047497
* removed legacy
* removed
2022-10-12 09:20:17 +04:00
Артем
22aef17707
TD-407: Add route to limit context ( #48 )
2022-10-02 19:38:17 +04:00
Andrew Mayorov
bf6e9b13d4
Fix limit comparison w/ upper boundary ( #47 )
2022-09-07 18:24:39 +03:00
Andrew Mayorov
471bf6c636
Ensure refund limits rolled back properly ( #44 )
...
Bump to valitydev/limiter-proto@6158184
2022-08-31 13:20:40 +03:00
ndiezel0
b7295a80f4
TD-341: Update damsel ( #42 )
2022-08-23 13:13:45 +05:00
ndiezel0
ef8b6b286e
TD-341: Pin Route ( #40 )
...
* Start implementation
* wip
* wip
* Format
* Fix
* Fix
* Update damsel
* Fix
* Various fixes
* Format
* Fix test
* Add tests
2022-08-16 13:04:24 +05:00
ndiezel0
d33fe19e8c
TD-167: Refactor hg_route_rules_tests_SUITE ( #29 )
...
* TD-167: Refactor hg_route_rules_tests_SUITE
* Review fixes
* Add dmt mocking
* Some more test fixes
* Fix 2 tests to work on mocks exclusively
* Make tests work in parallel
* Refactor route_rules_tests to be parallel
* Review fixes
* Review fix
* Fix merge
* Fix tests
* Review fix
* Fix some tests
* Review fixes
* Review fixes
* Simplify PaymentsProvisionTerms in provider terms
* Fix coverage of hg_context:set_party_client_context/2
* Fix
* Fix spec
* Fix spec 2
* Update apps/hellgate/test/hg_mock_helper.erl
Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
* Review Fix
* Fix test
* Revert "Fix test"
This reverts commit 10983bf6a9
.
* Revert "Review Fix"
This reverts commit 71d8702bca
.
Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
2022-07-19 07:25:45 +03:00
Andrew Mayorov
479d40488f
TD-222: Reuse valitydev/action-deploy-docker@v2 ( #37 )
2022-07-12 11:09:02 +03:00
Alexey S
c046b49078
TD-300: Experimental coveralls ( #36 )
2022-07-05 14:18:40 +03:00
Andrew Mayorov
4937089107
TD-312: Switch to valitydev/damsel@dac2cb5 ( #35 )
...
* Switch to valitydev/damsel@dac2cb5
* valitydev/dmt-client@899bd71
* valitydev/dmt-core@7584133
* valitydev/party-client-erlang@38c7782
* valitydev/payproc-errors-erlang@a19e716
* valitydev/thrift v0.14.2.3
* Bump to valitydev/machinegun-proto.git@347c5c4
* Bump to valitydev/bender-client-erlang@4e15070
* Bump to valitydev/limiter-proto@c5dfe39
2022-06-24 19:03:41 +03:00
Артем
46c7c91ccf
TD-306: New limiter context ( #34 )
...
* bumped limiter proto valitydev/limiter-proto@ac97053
* changed condition
* changed to payproc context
* bumped limiter valitydev/limiter@2dff7b5
* fixed
* fixed minor
2022-06-22 08:07:35 +03:00
Alexey S
fb0570df68
TD-296: Drop mg tag remains ( #30 )
2022-06-07 13:38:22 +03:00
Alexey S
83ee553fd0
TD-269: Fix missing bender client dep ( #28 )
2022-05-18 17:33:36 +03:00
Alexey S
7318303acb
TD-269: Machine tagging via bender (w/ fallback)( #27 )
2022-05-18 16:33:54 +03:00
Артем
dc25a05508
TD-197: Remove deprecated methods ( #26 )
...
* removed deprecated pmt methods
* fixed limit test
* added little test
* updated little test
* fixed dialyzer
* added requested changes
2022-04-28 18:03:48 +03:00
Alexey S
21fc5519c9
TD-259: Update damsel and remove migration code ( #25 )
2022-04-22 13:10:37 +03:00
Alexey S
0bd0458340
TD-225: Remove UserInfo auth logic ( #22 )
...
* Remove auth logic, update party client
* hadolint please
2022-04-15 14:07:54 +03:00
ndiezel0
b911b96246
Fix Dockerfile ( #24 )
...
* Fix Dockerfile
* Proper fix
2022-04-14 22:22:13 +03:00
ndiezel0
2350be8b01
TD-263: Move from shumway to accounter ( #23 )
...
* TD-263: Move from shumway to accounter
* Fix test
* Fix checks
* Review fix
* Review fix
2022-04-14 13:08:17 +03:00
Vality Bot
daa67736a1
🔄 Synced file(s) with valitydev/configurations ( #12 )
...
* 🔄 Synced local '.github/workflows/basic-linters.yml' with remote 'workflows/base/basic-linters.yml'
* 🔄 Created local '.github/settings.yml' from remote '.github/settings.yml'
2022-03-31 15:33:41 +03:00
Andrew Mayorov
c6296baf93
APM-52: Bump to valitydev/damsel@318a7a6 ( #15 )
2022-03-15 15:29:41 +03:00
Andrew Mayorov
5f406e4baf
Use unknown
suberror for routing misconfiguration ( #14 )
...
There's no `misconfiguration` suberror after all.
2022-03-11 11:00:42 +03:00