Commit Graph

342 Commits

Author SHA1 Message Date
Alexey
25902f83cf DC-111: Add subagent account (#286) 2019-01-29 15:41:43 +03:00
Evgeny Levenets
53c432d52f DC-104: bump damsel to work with new domain config (#285)
rbkmoney/damsel@1c28959
2019-01-25 16:02:25 +03:00
Andrey Fadeev
c0ff473653 MG-145 Add VM metrics collection (#278)
Add `how_are_you` library usage
2019-01-15 00:36:59 +03:00
Артем
d1bfe86db1 HG-450: Wallet payout tool (#275) 2018-12-12 17:14:15 +03:00
Артем
f629d7e68b HG-444: Add sequence (#269) (#270) 2018-11-12 16:33:15 +03:00
Артем
691a21d2e8 HG-439: Invoice repair tool (#258) 2018-10-23 09:55:31 +03:00
Andrey Fadeev
1ddd3552e9 FF-7 Add varset using to wallet terms construction (#261) 2018-10-15 16:31:53 +03:00
Alexey
4ec0c3b177 DC-102: Bank card routing with data from binbase (#259) 2018-10-12 17:56:35 +03:00
Andrey Fadeev
3b084b1be7 MSPF-392 Update woody and scoper (#260)
Update to version with fixed caching client scopes
2018-10-12 14:50:26 +03:00
Артем
45698158b4 HG-437: Fix anti fraud bypass (#255) 2018-10-03 11:44:21 +03:00
Andrew Mayorov
92eb9d4282 HG-441: Bump to rbkmoney/damsel@4c78d0d5 (#257)
* HG-441: Add a couple of simple test cases
2018-10-02 17:51:37 +03:00
Andrey Fadeev
20c7891416 HG-391 Add first payment recurrent (#246) 2018-09-26 21:18:21 +03:00
Артем
bd23012d89 HG-422: Party revision (#244) 2018-09-26 10:33:49 +03:00
Артем
800b1e824c HG-422: Party revision serverside (#250) 2018-09-21 14:06:18 +03:00
Andrey Fadeev
9143bf84f1 HG-424 Do not fail outdated customer binding machine (#251) 2018-09-20 16:27:54 +03:00
Andrey Fadeev
a2e71790db HG-424 Add customer polling deadline (#245) 2018-09-18 18:06:15 +03:00
Anton Belyaev
190b38e13d Refactor InternationalBankAccount in payout tool info, add modification (#238) 2018-09-17 16:19:24 +03:00
Артем
9acfd2fe78 HG-414: Added bypass antifraud (#241) 2018-09-17 13:45:36 +03:00
Andrey Fadeev
aa89507753 HG-389 Add caching party client usage (#232) 2018-09-06 18:50:37 +03:00
Andrey Fadeev
f6a62b4269 Add default woody deadline to requests without it (#236) 2018-09-06 13:26:44 +03:00
Andrey Fadeev
8c12ba8561 HG-386 Remove wallet management methods from party management (#230) 2018-08-27 12:45:53 +03:00
Andrey Fadeev
14df635075 HG-250 Multistage payment start (#229) 2018-08-09 11:32:18 +03:00
Andrey Fadeev
3fb3c92c4b HG-381 Add owner_id and shop_id to InvoicePaymentStarted event (#227)
And update dmsl
2018-07-23 12:18:58 +03:00
Evgeny Levenets
d7d318f1ff HG-354: add contractors and wallets in party (#205) (#221)
* HG-354: add contractors and wallets in party (#205)

* switch to epic damsel

rbkmoney/damsel@3af8098

* add support for wallet blocking & suspension

* contractor modification support

* wallet modification support

* fix account creation side effects

* add minimal tests

* add wallet blocking & suspension tests

* add simple checks for contractor & wallet

* new checks & exceptions for wallets & contractors

* add marchaling for old events

* add catch-all clause to claim effect marshaling (#222)

* HG-379: add wallet service terms support (#223)

* HG-379: add wallet service terms support

* maybe

* replace `shop` with `shop_id` in varset

* check wallets terms for currencies instead of payment terms

* fix tests

* make identification level for legacy contracts more correct

* Bump to rbkmoney/damsel@3549c635

* Switch to master rbkmoney/damsel@36907b0e

* Switch to master rbkmoney/dominant@4e296b03

* Attempt to easily fix test failures

* Attempt to fix test failures
2018-07-17 20:00:44 +03:00
Andrey Fadeev
90850ead4e MSPF-373 Update woody version (#225) 2018-07-09 15:42:52 +03:00
Andrew Mayorov
06592e29f0 Provide ability to setup timeouts (#226)
* Bump to rbkmoney/woody_erlang@9846923
2018-07-06 15:16:10 +03:00
Andrey Fadeev
848f176450 HG-368 Retry session after temporary unavailability failure in invoice payment (#220)
Use retry implementation from genlib_retry library.
Retries policy presents in application env.
Add more tests.
2018-06-08 14:44:23 +03:00
Petr Kozorezov
73e38282c7 MSPF-370: Bump erlang health (#219) 2018-05-29 17:13:32 +03:00
Evgeny Levenets
9506762966 Acts second try (#214)
* Revert "Revert "HG-370: support reporting preferences modification (#208) (#209)" (#212)"

This reverts commit 03ad14a90e47a0fc733590c67c7eaccfb10e6e96.

* fix PayoutScheduleRef unmarshalling
2018-05-17 17:56:43 +03:00
Anton Belyaev
ab17b07946 Revert "HG-370: support reporting preferences modification (#208) (#209)" (#212)
This reverts commit 4d18057b84c4fa8e5040bdf45ab5f6139f7bf486.
2018-05-16 20:40:14 +03:00
Anton Belyaev
72215968bd Bump timeouts in dmt client (#211) 2018-05-16 20:29:36 +03:00
Evgeny Levenets
2e1d70994f HG-370: support reporting preferences modification (#208) (#209)
* HG-370: support reporting preferences modification (#208)

* switch to epic damsel rbkmoney/damsel@3019575
* add simple test
* add schedule ref validation
* merge forgotten terms for acts
* calm down dialyzer
* add backward compatibility (#210)
2018-05-16 18:25:52 +03:00
Natalia Pulina
b024fd209b HG-360: Introduce apple pay (#203) (#207)
rbkmoney/damsel@d9b9706
2018-05-08 15:09:05 +03:00
Evgeny Levenets
9a36283b6e HG-334: use specific exceptions instead of InvalidRequest (#192) (#196)
* use specific exceptions instead of InvalidRequest
* remove unused stuff
* make payout_tool truly optional
* adapt to new exceptions and add PayoutScheduleRef check
* use hg_domain:exist instead of get
* add payout tool currency check
* rbkmoney/damsel@83d6c99
2018-04-20 14:38:36 +03:00
Petr Kozorezov
e9e6de184b add "health" handle (#204) 2018-04-12 18:02:05 +03:00
Petr Kozorezov
cec4041653 add payment error logs (#198) 2018-04-03 13:47:27 +03:00
Natalia Pulina
d159cb5107 HG-339: Refund currency should match payment currency (#195) 2018-03-22 18:16:07 +03:00
Natalia Pulina
3268282848 HG-339: Introduce partial refunds (#187)
* HG-339: Introduce partial refunds (#176)

* HG-339: Enrich refund with payment cash for old events (#177)

* HG-341: Introduce provision and service terms for partial refunds (#180)

*  HG-348: Make refund id using sequences service (#186)

* HG-348: Make refund id using sequences service

* HG-348: Bump to rbkmoney/scoper@cbe3abc

* HG-339: rebar.config fixed

* HG-339: seq_proto -> hg_proto.app.src (#188)

* HG-339: Cant start simultaneous partial refunds (#189)

* HG-339: Bump rbkmoney/damsel@349d26c, Bump rbkmoney/dominant@007326a
2018-03-06 18:05:18 +03:00
Evgeny Levenets
f0e9a07d63 HG-312: add payout terms support (#181)
* HG-312: add payout terms support (#174)

* add payout terms support
* add payout method condition support
* clean up hg_party a little bit
* separate payment institution stuff

* CAPI-251: add varset support to payment institution terms computation (#178)

* add varset support to payment institution terms computation
* add more science to pmnt_institution test

*  HG-343: add marshaling for old models (#183)

* bump damsel and dominant
* remove policy from payout service terms
* rename SheduleRef to PayoutSheduleRef to match damsel naming
* add marshaling for old models: international bank account, international legal entity, shop

* HG-343: fix old contract unmarshalling (#184)

* HG-343: fix old contract params unmarshalling (#184)

* linter fix

* HG-343: add support for merchant payout account (#185)

* add support for merchant payout account
* fix exceptions for ComputeTerms methods
2018-02-26 19:29:25 +03:00
Petr Kozorezov
04ab587a99 HG-345: Introduce error mapping (#175)
* update types and marshalling

* add errors representations convertor

* apply other review comments: add runtime type checking

* apply review fixes

* move errors code to a separate repo

* change damsel to master
2018-02-15 18:01:23 +03:00
Andrew Mayorov
d8fdfc4d1c Whoopsie! Switch back to master rbkmoney/damsel@7904077 (#182) 2018-02-15 13:31:36 +03:00
Andrew Mayorov
07afb0a2f7 Implement ad-hoc repairs w/ the ability to push arbitrary changes (#179)
* Make misbehaving testcase revert domain config alterations at the end
2018-02-15 12:43:14 +03:00
Andrew Mayorov
5077bc52ed HG-314: Introduce digital wallets (#164)
* HG-314: Let it learn new payment tool and storage schema

* HG-314: Add forgotten payment tool condition assertions

* HG-314: Increase healthcheck timeouts just for the fun of it

* HG-326: Introduce new rounding rule for cashflow volume (#169)

* BA-52: Bump to master rbkmoney/damsel@620cca5

* BA-52: Bump to master rbkmoney/dominant@68d75c0
2018-01-24 16:40:54 +03:00
Evgeny Levenets
1c3d945027 HG-305: bring payment institutions on the table (#167)
* HG-305: add payment institutions support (#159)
* HG-310: add descrete party revisioning (#162)
* HG-317: add international legal entity & bank account (#163)
* HG-317: marshaling & migration (#165)
* MSPF-335: add default payment inst to claim's changeset and effects (#168)
* MSPF-335: add party revision to Invoice (#170)
2018-01-21 20:59:44 +03:00
Natalia Pulina
e4baaef0ba HG-319: user_interaction in SleepIntent handled (#166)
* HG-319: test cases for failure and success payment with user interaction

* HG-319: kv store added

* HG-319: use token for payment tool scenario
2018-01-15 13:12:03 +03:00
Dmitry Manik
9627a430a9 Subs-2 (#158) 2017-11-22 14:38:09 +03:00
Timur
9978bd6bd0 From new service-erlang image (final) (#154)
* From new service-erlang image
2017-10-31 19:48:18 +03:00
Anton Belyaev
d73592ca22 HG-273: move woody scoped logging to woody (#124)
* use scoper lib for log meta scoping
* remove woody_event_handler behaviour from hg_client_api (unused)
* update tests config for scoper
* bump up dmt_client (now with scoper support)
2017-10-26 13:59:47 +03:00
Evgeny Levenets
23f5bbce7e HG-257: penetrate invoice cart into invoice template (#143) 2017-10-25 19:26:00 +03:00
Anton Belyaev
19f75db729 HG-182: Introduce customer as a payment resource (#141)
* HG-231: Introduce customers (#114)

* HG-231: Pass aux state down to the machine handlers (#137)

* HG-231: Handle customer aux_state (#138)

* HG-231: Add customer status change event (#140)

* HG-182: Switch to master rbkmoney/damsel@478235a
2017-10-23 16:44:42 +03:00