Yaroslav Rogov
2829b775b0
Ed 263/feat/named invoice templates ( #599 )
...
* ED-262/feat: Add support for name and createdAt for InvoiceTemplate
* ED-263/deps: Update damsel
2021-09-10 14:50:16 +03:00
Yaroslav Rogov
9dd99ab584
ED-190/deps: Update dmt_client ( #582 )
...
* ED-190/deps: Update dmt_client
* ED-190/deps: Update dmt_client
* ED-190/deps: Update dmt_client and update usage
* ED-190/test: fix customer tests
* ED-190/test: fix direct recurrent tests
* ED-190/test: Fix tests
* ED-190/test: Fix tests (probly?)
* ED-190/test: fix typo
* ED-190/test: fix adjustments tests
* ED-190/refactor: Fix dialyzer errors
* ED-190/refactor: Fix dialyzer
* ED-190/deps: Update party_client_erlang
* fix: remove party-management
* ED-190/test: return sleep
* ED-190/test: Fix compute_terms order
* ED-190/test: Probly fix test?
2021-08-26 19:07:58 +03:00
dinama
144cf2cc9c
ED-242: woody_api_hay w/o how_are_you ( #596 )
2021-08-26 14:58:37 +03:00
dinama
456acd735f
ED-242: +image +build-utils +deps ( #592 )
2021-08-24 10:04:36 +03:00
dinama
0c6bcf6346
ED-245: +rbkmoney/damsel#700 +format ( #591 )
2021-08-24 08:24:45 +03:00
Boris
8c607c633b
ED-157: Choose route without limit overflow ( #583 )
2021-08-05 18:02:44 +03:00
Артем
a76f6ee905
Revert "ED-69: Implement new cashflow ( #577 )" ( #585 )
...
* Revert "ED-69: Implement new cashflow (#577 )"
This reverts commit 843ab7ceb0
.
# Conflicts:
# apps/hellgate/test/hg_invoice_tests_SUITE.erl
* fixed revert
Co-authored-by: Yuri Bukhalenkov <y.buhalenkov@rbk.money>
2021-07-28 10:57:45 +03:00
ndiezel0
843ab7ceb0
ED-69: Implement new cashflow ( #577 )
...
* ED-69: Implement new cashflow
* ED-69: Update damsel and remove new cashflow
* ED-69: Some fixes
* ED-69: Fix issues
* ED-69: Add TransactionAccount checks in tests
2021-07-23 11:11:59 +03:00
Boris
6f6be75b32
ED-156: integration with limiter ( #574 )
2021-06-23 14:08:28 +03:00
Andrew Mayorov
016faf528c
Bump to rbkmoney/damsel@cc2875b carefully ( #571 )
...
* Adapt party machine transmutations facilities to support it
* Encode party state snapshots as thrift binary
* Avoid excessive party event decoding
* Add eventsink consistency testcase to partymgmt
2021-06-01 14:42:21 +03:00
Sergey Yelin
bcb9ad9525
Revert "feat/ED 148 introduce eea ( #569 )" ( #570 )
...
This reverts commit 702264cc2d
.
2021-05-27 19:06:50 +03:00
Sergey Yelin
702264cc2d
feat/ED 148 introduce eea ( #569 )
...
* Remove clean before rm
* Ed-148: Upgrade damsel
2021-05-24 18:51:25 +03:00
Yaroslav Rogov
338c7a04af
Ed 95/feat/id passing proto switch ( #566 )
...
* ED-95/feat: Switch proto defs to required ids
* deps: Update damsel
* ED-95/feat: Switch proto defs for invoices as well
* deps: Update damsel
* test: Fix tests
* Revert "test: Fix tests"
This reverts commit defaf4f076e3ce518121f83e609141ebe5609aae.
* test: Fix tests
* test: Fix the rest of the tests
* test: Fix more tests
* test: Fix more
* test: fix unexported function
* test: Fix helpers functions
* fix: Fix invoice iding
* test: smth with ids?
* test: Fix refund limit test
* fix: it cant be
* test: change ids for sure
* ci: trigger rebuild
* test: temp disable parallel for refunds_ tests
* test: restructure parallel refunds tests
2021-05-19 17:35:10 +03:00
Boris
744d95f5e8
ED-145: Handle exception ProvisionTermSetUndefined ( #565 )
2021-05-13 16:02:22 +03:00
Andrew Mayorov
3012a02820
ED-142: Store and pass PayerSessionInfo where needed ( #563 )
...
* Bump to rbkmoney/damsel@66b9ae4
2021-04-30 12:19:26 +03:00
ndiezel0
5294135eeb
HG-452: Add ComputeGlobals and ComputePaymentRoutingRuleset ( #474 )
...
* HG-452: Add compute payment institution to hellgate
* HG-452: Fix marshalling
* HG-452: Add ComputePaymentInstitution implementation
* HG-452: Fix payment_institution tests
* HG-452: Fix lint
* HG-452: Fix marshalling error
* HG-452: Add compute_contract_terms use
* HG-452: Add compute_contract_terms more use
* HG-452: Fix dialyzer
* HG-452: Update Provider
* HG-452: Remove compute p2p and withdrawal provider methods
* HG-452: Update party client
* HG-452: Add eunit test to selector
* HG-452: Add ComputeGlobals
* HG-452: Fix compile
* HG-452: Fix specs
* HG-452: Add ComputePaymentRoutingRuleset
* HG-452: Fix lint
* HG-452: Review fix
* HG-452: Fix tests
* HG-452: Remove migration remains
* HG-452: Add `PaymentRoutingCandidate` validation
* compute_globals: removed extra parameter GlobalsRef
Co-authored-by: Yuri Bukhalenkov <y.buhalenkov@rbk.money>
Co-authored-by: yuri-bukhalenkov <78025148+yuri-bukhalenkov@users.noreply.github.com>
2021-04-29 16:05:45 +03:00
yuri-bukhalenkov
82a6bc5074
ED-135: removed global_ref param from pm_party_client:compute_globals ( #562 )
...
* updated damsel
* removed global_ref param from pm_party_client:compute_globals
* fixed review issue
2021-04-28 11:19:35 +03:00
Sergey Yelin
c3e7413db0
ED-102: Update damsel ( #558 )
...
* ED-102: Update damsel
* Fix lint errors
* ED-102: Add new CryptoCurrency
* Remove unused create_from_method/1
* Remove unused test_condition/3
2021-04-06 15:14:02 +03:00
Andrey Fadeev
44e354b793
Update damsel to rbkmoney/damsel@ca2b3ad ( #551 )
2021-03-16 20:23:15 +03:00
yuri-bukhalenkov
1964ed27e6
ED-43: Добавить поддержку RBS ( #546 )
...
* updated rebar.lock
* updated rebar.lock; removed legacy_domain_revision
* +scenario mandatory
Co-authored-by: dinama <dinama@users.noreply.github.com>
2021-03-02 17:19:00 +03:00
yuri-bukhalenkov
87e8c1c478
Hg-568: added a new field "trusted_client" for an antifraud system ( #539 )
...
* added trusted_client field to an InvoiceParams(payment_processing) and forwarded it to an Invoice(domain)
* pushed field trusted_client to a proxy_inspector
* HG-568: moved field trusted_client to an extra structure InvoiceClientInfo and renamed it to is_trusted
* update rebar.lock
2021-02-09 13:20:50 +03:00
Sergey Yelin
32e269ab4f
Add uzcard as payment system ( #538 )
2021-02-02 15:56:23 +03:00
dinama
c4eb9b4138
upgrade: +image +deps +endpoints ( #535 )
2021-01-31 17:39:04 +03:00
dinama
983ba4d48b
pass make_recurrent to inspector ( #532 )
2020-12-24 14:10:19 +03:00
dinama
490958222b
+upgrade all +fix after upgrade ( #531 )
2020-12-24 12:12:05 +03:00
Alexey
eabde5f5c6
CAPI-430: Add last_transaction_info to payproc_InvoicePayment ( #522 )
2020-12-09 14:54:16 +03:00
Sergey Yelin
b4c4e872bf
Update image ( #511 )
2020-11-27 16:48:54 +03:00
George Belyakov
b7a0c58dfb
hitch up all routing rules damsel changes ( #507 )
2020-11-16 10:55:56 +03:00
Andrey Fadeev
efe0b67a7a
Add dummy payment system ( #506 )
...
Bump damsel up to rbkmoney/damsel@3710cab
2020-11-11 14:45:46 +03:00
Toporkov Igor
233b3a0913
Revert "Revert "HG-555: update ComputeShopTerms clients ( #497 )" ( #503 )" ( #504 )
...
This reverts commit 72f6fd5c3d
.
2020-11-09 13:50:16 +03:00
Toporkov Igor
72f6fd5c3d
Revert "HG-555: update ComputeShopTerms clients ( #497 )" ( #503 )
...
This reverts commit 9a8ad47008
.
2020-11-05 12:09:36 +03:00
Toporkov Igor
9a8ad47008
HG-555: update ComputeShopTerms clients ( #497 )
...
* Hadle varset that might be sent in future
* Leave a comment about the migration process
* Update damsel & party_client
* Use party_client to call PM, add Varset to ComputeShopTerms args
* Add Varset to pm_client and tests
2020-10-30 14:54:58 +03:00
Sergey Yelin
cf0ff07a95
Add prometeus ( #494 )
2020-10-24 09:01:20 +03:00
ndiezel0
2c2bd465bc
HG-452: Add caching for Checkout Party ( #487 )
...
* HG-452: Add caching for Checkout Party
* HG-452: Fix dialyzer
* HG-452: Format
* HG-452: Make cache work
* HG-452: Review fix
* HG-452: Fix specs
* HG-452: Review fix
* HG-452: Fix
* HG-452: Review fix
* HG-452: Format
2020-10-16 13:41:47 +03:00
Sergey Yelin
70f1e697da
Update woody ( #482 )
...
* Revert "Update woody and fix backward clock error (#478 )"
This reverts commit 7ee4679b1e
.
* Update woody and fix backward clock error (#478 )
* Fully embrace new woody args-are-tuples convention (#480 )
* Remove HG-542 revert artefact
Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
2020-09-18 19:18:59 +03:00
Sergey Yelin
9090607be6
Revert HG-452 ( #481 )
...
* Revert "Fully embrace new woody args-are-tuples convention (#480 )"
This reverts commit d95579a0d7
.
* Revert "HG-452: Fix pm_ruleset (#477 )"
This reverts commit 6f4433bdc7
.
* Revert "Update woody and fix backward clock error (#478 )"
This reverts commit 7ee4679b1e
.
* Revert "HG-452: Add pm methods usage (#443 )"
This reverts commit 3a9142df3b
.
2020-09-18 16:57:01 +03:00
ndiezel0
7ee4679b1e
Update woody and fix backward clock error ( #478 )
2020-09-10 17:58:12 +03:00
ndiezel0
3a9142df3b
HG-452: Add pm methods usage ( #443 )
...
* HG-452: Add compute payment institution to hellgate
* HG-452: Fix marshalling
* HG-452: Add ComputePaymentInstitution implementation
* HG-452: Fix payment_institution tests
* HG-452: Fix lint
* HG-452: Fix marshalling error
* HG-452: Fix tests
* HG-452: Add compute_contract_terms use
* HG-452: Add compute_contract_terms more use
* HG-452: Fix dialyzer
* HG-452: Update Provider
* HG-452: Remove compute p2p and withdrawal provider methods
* HG-452: Update party client
* HG-452: Add eunit test to selector
* HG-452: Fix tests
* HG-452: Review fix
* HG-452: Review fix
* Update apps/hellgate/src/hg_invoice_payment.erl
Co-authored-by: Andrey Fadeev <me@ciiol.net>
* HG-452: Review fix
* HG-452: Remove CreatedAt
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2020-09-07 16:16:34 +03:00
Roman Pushkov
32d3bfa307
HG-545: register status change timestamps ( #473 )
...
* add occurred in invoice handlers
* store latest change in payment
* remove unused function
* update merge_change
* minor fixes
* one more fix
* store ts in payment opts
* update opts handling
* cleanup
* minor cleanup
* timestamps for invoice adjustments
* update damsel
* unify adjustment timestamps
* fix exports
2020-09-04 14:32:38 +03:00
ndiezel0
8660b4d533
HG-452: Implement ComputeGlobals and ComputePaymentRoutingRuleset ( #466 )
...
* HG-452: Update Varset
* HG-452: Add ComputeGlobals and ComputePaymentRoutingRuleset implementation
* HG-452: Fix tests
* HG-452: Fix test
* HG-452: Fix dominant config in party test
* HG-452: Fix lint
* HG-452: Fix xref and tests
* Update apps/party_management/src/pm_party_handler.erl
Co-authored-by: Andrey Fadeev <me@ciiol.net>
* HG-452: Review fix
* HG-452: Update damsel
* Update apps/party_management/test/pm_party_tests_SUITE.erl
Co-authored-by: Andrey Fadeev <me@ciiol.net>
* HG-452: Add WRONG_DMT_OBJ_ID macro to pm tests
* HG-452: Add tests
* HG-452: Fix order
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2020-08-07 16:02:02 +03:00
Andrew Mayorov
88aae16c72
Bump to rbkmoney/woody_erlang@33b69913 ( #470 )
...
* benoitc/hackney#638
2020-08-04 15:48:17 +03:00
Toporkov Igor
3bdc2a01f9
DC-127: Payment methods refactoring ( #445 )
...
* Use corresponding epic damsel branch
* Bump dominant
* Migrate to new bank_card payment method representation
* Simplify guard clause
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
* Delete invalid clauses in hg_payment_tool:get_method/1
* Remove marshaling that we don't use anymore
* Correctly unmarshal tokenization_method
* Revert "Correctly unmarshal tokenization_method"
This reverts commit 6f14eefd003e3f80d087db97ca63c4ccc85152d8.
* Do not unmarshal tokenization_method because it will never be there
* Use old (_deprecated) payment methods
* Replace has_cvv with is_cvv_empty
* Upgrade damsel
* Delete outdated comentaries
* Return ordset of payment methods
* Upgrade dominant
* Upgrade damsel
* Add tokenization_method to bank_card_deprecated
* Rename function in hg_payment_tool, create function to test if payment method is supported
* Simpilfy and rename payment methods matching
* Export hg_payment_tool:get_possible_methods/1
* Upgrade damsel
* Fix mising old bank card reference
* Bump dominant
* Fix construct_payment_method
* Upgrade deps
* Suffix with _derprecated payment methods
* Bulk update deps
* Mark deprecated pms introduced by merge
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
2020-07-29 15:02:00 +03:00
Andrey Fadeev
deab115c79
Update woody to rbkmoney/woody_erlang@b563bbb ( #467 )
2020-07-28 08:14:10 +03:00
Roman Pushkov
e2240008a0
HG-541: invoice adjustments ( #458 )
...
* some initial changes
* update hg_client
* change adjustment to payment adjustment in tests
* update damsel
* types in client
* Revert "change adjustment to payment adjustment in tests"
This reverts commit ff1633c41660b6f144f75ae067ea63eb33906981.
* rename payment adjustment functions
* fix hg_client adjustment calls
* update invoice events header
* add invoice adjustment tests
* working invoice adjustments
* uncomment other invoice tests
* minor cleanup
* fix some types
* fix more types
* temporarily comment out non-operational tests
* fix actions
* add more tests
* add exceptions
* run ci with disabled invoice adjustment tests
* Switch ti sequential
* uncomment tests
* minor cleanup
* uncomment pm tests
* add extra asserts
* add logging
* remove tests from invoice suite
* add invoice adjustment test suite
* minor cleanup
* fix test crashes
* minor cleanup
* more cleaning
* update invalid status exception handling
* increase party client timeout
* increase get timeout
* add pending payment test
* add pending adjustment test
* update tests
* update damsel
* update handling
* add expiration tests
* refactor tests
* update expiration handling
* tests cleanup
* do not expire while pending
* update timeouts
Co-authored-by: Sergey Yelin <elinsn@gmail.com>
2020-07-21 17:43:14 +03:00
ndiezel0
101a6c72b0
HG-452: Update party_managements methods and tests ( #460 )
2020-07-10 16:54:31 +03:00
Roman Pushkov
d75c012b4a
HG-542: chargebacks move_to_stage option ( #456 )
...
* add move_to_stage option handling
* add test placeholder
* finalise test
* uncomment move_to_stage option handling
* only allow skipping forward
* update damsel
* fix test
* update handling
* rework stage selection semantics
* fix stage handling
* fix dialyzer
2020-07-03 17:23:24 +03:00
Andrey Fadeev
3f3c8e18cd
MSPF-561 Update damsel ( #455 )
...
* Update damsel
* Reduce tests flapping
* Make eventsink test suite a bit more stable
2020-06-30 17:51:13 +03:00
Sergey Yelin
59ec584071
P2C-8: Add attempt_limit ( #452 )
...
* P2C-8: Add attempt_limit
* Add missing merge
* Fix order
2020-06-22 18:21:22 +03:00
Boris
03302b8788
MSPF-562: Add bank card category, condition category_is ( #448 )
2020-06-11 17:17:05 +03:00
Alexey
24a7c3b1ec
FF-183: Upgrade damsel ( #441 )
2020-05-29 11:01:33 +03:00