Commit Graph

161 Commits

Author SHA1 Message Date
Evgeny Levenets
4485efae95
HG-408: switch to binary event storage (#242)
* HG-408: switch to binary event storage

* use metadata obviously

* encode/decode perfection

* dumb packing logic

* dumb unpacking

* fix dialyzaaaar

* little typing improvement

* introduce primitive AuxState

* use aux state for state composition

* rework aux state usage a little bit

* use AuxState for checking out by revision

* fix awkward bug

* move header to proper location

* revert previous ugly commit

Revert "fix awkward bug"

* use 0 limit for get_state and checkout_by_revision

* rework get_state for handle_call

* build party revision index on call

* remove adhoc with domain revision

* remove get_st_timestamp()
2018-10-23 13:43:39 +03:00
Артем
277d6e4946
HG-439: Invoice repair tool (#258) 2018-10-23 09:55:31 +03:00
Andrey Fadeev
16d9d57b18
FF-7 Add withdrawals terms reducing (#262) 2018-10-18 11:13:06 +03:00
Andrey Fadeev
db6f2d24d0
FF-7 Add varset using to wallet terms construction (#261) 2018-10-15 16:31:53 +03:00
Alexey
6b9cabca52
DC-102: Bank card routing with data from binbase (#259) 2018-10-12 17:56:35 +03:00
Артем
f817b6a859
HG-437: Fix anti fraud bypass (#255) 2018-10-03 11:44:21 +03:00
Andrew Mayorov
e6d7f41b87
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
Andrew Mayorov
ff3c83f61c
HG-440: Handle unhandled recurrent paytools service exception (#256) 2018-10-02 17:04:13 +03:00
Andrey Fadeev
5300a226c1
Fix function clause for proxy GetPayment on idle payments (#252) 2018-09-27 12:22:49 +03:00
Andrey Fadeev
11ec5da9fe
HG-391 Add first payment recurrent (#246) 2018-09-26 21:18:21 +03:00
Andrew Mayorov
cf85597051
HG-435: Fix legacy bank card unmarshalling (#254) 2018-09-26 18:40:34 +03:00
Артем
2cf6f052f4
HG-422: Party revision (#244) 2018-09-26 10:33:49 +03:00
Артем
5f27775677
HG-422: Party revision serverside (#250) 2018-09-21 14:06:18 +03:00
Andrey Fadeev
1d04aa8ec0
HG-424 Do not fail outdated customer binding machine (#251) 2018-09-20 16:27:54 +03:00
Andrey Fadeev
b32011c503
HG-424 Only pending customer binding can be outdated (#249) 2018-09-20 12:53:55 +03:00
Anton Belyaev
794499ec31
Fix payout_tool_info transmutation to v6 in party modification (#248) 2018-09-19 16:32:53 +03:00
Andrey Fadeev
b2efa5ee35
HG-424 Increace hardcoded customer deadline (#247)
* Increace hardcoded customer deadline
* Add config to application env
2018-09-19 15:22:56 +03:00
Andrey Fadeev
4d8cc6911e
HG-424 Add customer polling deadline (#245) 2018-09-18 18:06:15 +03:00
Andrey Fadeev
a25077393e
HG-432 Fix another party customer using (#243) 2018-09-18 13:41:34 +03:00
Артем
f06efedd8b
HG-398: Added adapter state for invoice payment (#240) 2018-09-17 16:54:19 +03:00
Anton Belyaev
bb0a0653e8
Refactor InternationalBankAccount in payout tool info, add modification (#238) 2018-09-17 16:19:24 +03:00
Артем
193d5abf6e
HG-414: Added bypass antifraud (#241) 2018-09-17 13:45:36 +03:00
Andrey Fadeev
acbe9f4ea5
HG-418 Add adhoc repair events merging (#239)
* Add adhoc repair events merging
* Add more generic provider test scenario
* Add tests for legacy repaired machines
2018-09-12 19:43:33 +03:00
Andrey Fadeev
97d5e62d44
HG-389 Add caching party client usage (#232) 2018-09-06 18:50:37 +03:00
Andrey Fadeev
021d444c7f
Add default woody deadline to requests without it (#236) 2018-09-06 13:26:44 +03:00
Andrey Fadeev
beca24f737
Fix undefined route reading in refunding non-captured payment (#234) 2018-08-31 14:45:17 +03:00
Evgeny Levenets
7621c92665
HG-395: remove payment institution check in claims (#233) 2018-08-28 19:51:35 +03:00
Andrey Fadeev
152732ac4a
HG-386 Remove wallet management methods from party management (#230) 2018-08-27 12:45:53 +03:00
Andrey Fadeev
13c2c93a95
Fix no_route_found logging format (#231) 2018-08-22 13:22:59 +03:00
Andrey Fadeev
77d2fd4827
HG-250 Multistage payment start (#229) 2018-08-09 11:32:18 +03:00
Andrey Fadeev
2e145ceae8
HG-381 Add owner_id and shop_id to InvoicePaymentStarted event (#227)
And update dmsl
2018-07-23 12:18:58 +03:00
Andrew Mayorov
11f0550e26
Fix party events marshalling (#228) 2018-07-18 18:39:24 +03:00
Evgeny Levenets
1ae0c4b1f3
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
Andrew Mayorov
1de7949caa
Provide ability to setup timeouts (#226)
* Bump to rbkmoney/woody_erlang@9846923
2018-07-06 15:16:10 +03:00
Evgeny Levenets
3208d74733
fix report service terms computing (#224) 2018-07-03 20:57:28 +03:00
Andrey Fadeev
04439927e2
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
Evgeny Levenets
9761eed905
HG-373: better 'No route found' exception (#215) 2018-05-24 18:05:45 +03:00
Evgeny Levenets
dade9cba1a
fix LegalAgreement transmuting part 2 (#218) 2018-05-22 15:04:59 +03:00
Andrew Mayorov
6e323e6ff1
Drop outdated TODOs and code fragments (#216) 2018-05-22 12:05:04 +03:00
Evgeny Levenets
43732d0240
fix LegalAgreement transmuting (#217) 2018-05-21 19:36:29 +03:00
Evgeny Levenets
6bccc80200
Acts second try (#214)
* Revert "Revert "HG-370: support reporting preferences modification (#208) (#209)" (#212)"

This reverts commit 03ad14a90e.

* fix PayoutScheduleRef unmarshalling
2018-05-17 17:56:43 +03:00
Anton Belyaev
03ad14a90e
Revert "HG-370: support reporting preferences modification (#208) (#209)" (#212)
This reverts commit 4d18057b84.
2018-05-16 20:40:14 +03:00
Evgeny Levenets
4d18057b84
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
ec3fde0037 HG-360: Introduce apple pay (#203) (#207)
rbkmoney/damsel@d9b9706
2018-05-08 15:09:05 +03:00
Evgeny Levenets
301985ce04
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
Andrew Mayorov
ad14d616d8
Fix merchant fees adjustment mechanics (#206) 2018-04-17 12:22:49 +03:00
Petr Kozorezov
36ef1871bd
add "health" handle (#204) 2018-04-12 18:02:05 +03:00
Andrew Mayorov
13d35eab0a
Fix merchant refund terms acceptance (#202)
It was incorrect not to consider payment methods restriction when
evaluating refund terms.
2018-04-04 15:26:56 +03:00
Andrew Mayorov
d069ee9c44
Make adjustments respect possibly updated merchant terms (#199) 2018-04-03 20:09:12 +03:00
Evgeny Levenets
3e283df2cc
fix partial refund varset collection (#201)
* break tests
* fix partial refund varset collection
2018-04-03 19:11:14 +03:00