yuri-bukhalenkov
4159f30c72
replaced an empty varset with a proper one for computing contract terms ( #567 )
2021-05-20 18:30:05 +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
yuri-bukhalenkov
839bd29d9f
Ed-98/fix/rm party selector reduce ( #564 )
...
* removed pm_selector:reduce in hg_invoice_payment_chargeback
* removed pm_selector:reduce in hg_recurrent_paytool
* reverted one pm_selector:reduce call in hg_recurrent_paytool
* removed pm_selector:reduce in hg_invoice_utils
* review fixes
* removed pm_selector:reduce in hg_limiter
* removed unused function, replaced type pm_selector:varset with hg_varset:varset
* format
* cleanup
2021-05-19 10:19:57 +03:00
Boris
0dcc31939d
Fix del legacy routing detection ( #559 )
2021-05-17 09:55:48 +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
George Belyakov
d9737fb3c9
ED-101: party management terms calculation ( #561 )
...
* add reduce_if_defined to reduce_provider in pm_provider
* check provider terminal terms reducing for both provider/terminal are undefined
* dialyzer
* format
* test try (throw instead of error)
* add test to undefined provider-terminal terms fix
* rework try/catch+assertMatch in compute_terminal_terms test
Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
2021-04-28 14:53:01 +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
Yaroslav Rogov
32893dd684
ED-94/feat: use passed customer_id ( #556 )
...
* ED-94/feat: use passed customer_id
* ED-94/deps: upgrade damsel
* ED-94/refactor: Comment the generation
* refactor: make FIXME entry more clear
2021-04-26 12:31:16 +03:00
Yaroslav Rogov
e5429e9cf5
ED-92/feat: use passed invoice_template_id ( #555 )
...
* ED-92/feat: use passed invoice_template_id
* ED-92/deps: upgrade damsel
* ED-92/refactor: Comment the generation
* refactor: make FIXME entry more clear
2021-04-26 11:45:34 +03:00
Yaroslav Rogov
57f681a177
ED 81/pass rec payment tool id ( #554 )
...
* refactor: Fix typo
* ED-81:deps: Update damsel
* ED-81:deps: Update build_utils
* ED-81:feat: Accept RecPaymentToolID
* Revert "ED-81:deps: Update build_utils"
This reverts commit 5ee03f47af7a19a1d8a3f506d4cde7383f0eaea4.
* ED-81:test:Fix start_two_bindings_w_tds test case
* ED-81:refactor:Fix rebar.lock indentation
* ED-81/fix: Add customer_binding_id from params
* ED-81/test: Fix tests with two bindings
* refactor: Add FIXME for uid
2021-04-26 11:02:43 +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
yuri-bukhalenkov
fd5df7298d
ED-98: replaced local calls with a thrift ones ( #557 )
...
* replaced local calls with a thrift ones
2021-03-31 18:08:02 +03:00
dinama
97a7f0206e
ED-86: +hg_customer dynamic poll timeout ( #552 )
2021-03-23 00:03:47 +03:00
Boris
6e9b93baed
merge PaymentsProvisionTerms.turnover_limits ( #553 )
2021-03-19 13:04:05 +03:00
Andrey Fadeev
44e354b793
Update damsel to rbkmoney/damsel@ca2b3ad ( #551 )
2021-03-16 20:23:15 +03:00
Sergey Yelin
2de65782f3
ED-75: Update image ( #550 )
2021-03-11 13:33:30 +03:00
Andrey Fadeev
24bce62370
Allow to build service without the private registry ( #548 )
2021-03-05 18:37:04 +03:00
dinama
0fa80b47ac
ED-33: allow cashflow adjustment for non-fail final states ( #545 )
2021-03-03 18:42:14 +03:00
Boris
3df4ea5c89
MSPF-628: Add proto limiter integration ( #534 )
2021-03-02 22:34:19 +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
75ed95a9bc
ED-40: reduce party reading ( #544 )
...
* reduce party reading
* asserts do not change state anymore
* reduced getting party calls
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2021-02-26 20:58:29 +03:00
George Belyakov
12f5f18711
HG-567: Several adjustments treatment ( #541 )
...
* add non-idle payments check for invoice payment-to-invoice transition
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2021-02-19 15:32:04 +03:00
Boris
b03e1fca24
Move accounter hold from process_routing in process_cash_flow_building ( #540 )
2021-02-19 10:44:57 +03:00
Boris
999722915d
Add process cashflow building ( #542 )
2021-02-18 17:43:31 +03:00
Boris
31d34bae77
Add handler 'ProcessRepair' ( #521 )
...
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2021-02-10 14:22:29 +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
66f5388b5c
+fix health_check demo config ( #537 )
2021-02-01 19:07:24 +03:00
dinama
c4eb9b4138
upgrade: +image +deps +endpoints ( #535 )
2021-01-31 17:39:04 +03:00
Andrey Fadeev
5bbb1afcf8
Fix notfound error handling in call to customer machine ( #533 )
2020-12-29 12:06:31 +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
Boris
a6f0af5773
Logging routing computation trace ( #530 )
...
* add candidates compution trace
2020-12-18 15:16:22 +03:00
Sergey Yelin
b3961bb61a
Fix leaked containers on CI ( #529 )
2020-12-17 21:20:33 +03:00
Andrey Fadeev
0776ca6685
Remove risk score overwriting when make_recurrent flag is set ( #528 )
...
* Remove risk score overwriting when make_recurrent flag is set
* Remove related test
2020-12-16 19:10:22 +03:00
Boris
ff88d6a6b2
Add routing rules logs ( #527 )
2020-12-16 14:54:16 +03:00
Boris
c269e660a1
Routing rules logging ( #526 )
...
* routing rules logging
* Update apps/hellgate/src/hg_invoice_payment.erl
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2020-12-15 12:03:47 +03:00
dinama
fda1c15220
update build env ( #525 )
2020-12-09 17:36:14 +03:00
Sergey Yelin
77ee2e3fca
Add yandexpay ( #524 )
...
* Update damsel
* Add yandexpay conversion
* Update damsel
* Remove yandexpay from unmarshal
* Update damsel
2020-12-09 16:10:36 +03:00
Alexey
eabde5f5c6
CAPI-430: Add last_transaction_info to payproc_InvoicePayment ( #522 )
2020-12-09 14:54:16 +03:00
Andrew Mayorov
5124c9d757
Avoid warnings spam w/ incompatible cash ranges ( #516 )
...
Prefer to return well-specified error tuple instead.
Also Bump invoice lifetimes up in customer tests.
2020-12-04 17:27:30 +03:00
Sergey Yelin
0a2b81adbb
Cleanup release env ( #518 )
...
* Cleanup release env
* Fix formatter version
* Fix formatter url
2020-12-02 13:55:34 +03:00
Sergey Yelin
8bde154e13
Revert "Cleanup release env"
...
This reverts commit 128d99f965
.
2020-12-02 11:57:12 +03:00
Sergey Yelin
128d99f965
Cleanup release env
2020-12-02 11:46:25 +03:00
Sergey Yelin
b4c4e872bf
Update image ( #511 )
2020-11-27 16:48:54 +03:00
Toporkov Igor
fa25ac258b
CAPI-429: Add uzcard support ( #510 )
...
* Unmarshal new payment terminal provider
* Fix wrong name
* Closing quote
2020-11-25 14:38:16 +03:00
Toporkov Igor
a17521d4d9
HG-555: Remove redundant terms reduction ( #499 )
...
* 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
* Use Varset in party management
* Remove redundant terms reduction
* Apply formatting
Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
2020-11-17 12:06:23 +03:00
George Belyakov
b7a0c58dfb
hitch up all routing rules damsel changes ( #507 )
2020-11-16 10:55:56 +03:00