Commit Graph

79 Commits

Author SHA1 Message Date
Alexey
be66e0eae7
CAPI-366: Refund idempotency (#386) 2019-08-26 18:28:12 +03:00
Andrew Mayorov
bd1e719ed7
MSPF-499: Bump to rbkmoney/erlang-health@c190cb8 (#407)
Enable healthcheck logging
2019-08-19 11:53:27 +03:00
Andrey Fadeev
a981947b56
Update scoper (#404)
And add scoper to config example
2019-08-09 16:10:32 +03:00
Sergey Yelin
6a3ba4d85d
Fix crash on empty body in cowboy_access_log (#395) 2019-08-06 15:15:46 +03:00
Andrey Fadeev
f4393d903c
Update woody (#392) 2019-07-25 17:51:40 +03:00
Sergey Elin
829a5b54b5
[v2] Fix crash on health check handler (#384) 2019-07-18 22:33:42 +03:00
Roman Pushkov
831ad51cb7
CAPI-369: tds interaction (#380)
* add token to digital wallet encoder

* update damsel

* update decoder

* refactor wallet encoder

* add test for qiwi wallet with token

* fix linter: line too long

* build token and session explicitly in test

* formatting
2019-07-17 18:31:48 +03:00
Alexey
92777abd8f
CAPI-365: Bump hackney (#374) 2019-07-11 14:39:09 +03:00
Roman Pushkov
b6399e3b2c
CAPI-364: update transaction info (#362)
* update damsel

* update handler

* update test

* update swag

* update swag
2019-07-08 16:52:56 +03:00
Toporkov Igor
456b9a91e1 Erlang OTP 21 to v2 (#342)
* CAPI-351: Erlang 21 to CAPI V2 (#339)

* First step of migration

* spec fix, changed headers to map

* Bumped back swag commit

* Bumped swag commit

* reverted bump

* Second migration step

* Linter fixes

* Bump build_image_tag

* Update build utils

* Gave up on using deprecated ranch child spec

* Updated plt version

* Bumped service-erlang

* Actually use stream_handlers, bump woody

* removed commeted funnctions

* CAPI-353: OTP 21 logger (#341)

* Initial lager migration

* Added missing comma

* Fix config typos and indentation, bumped formatter

* Fixed oops body responce

* Fixed wrong reply format, refactored oops body retrieval

* Bumped hackney and thrift, fixed inet version

* Renamed and fixed stream handler, fixed wrong handlers order

* Test for oops_body

* Use join to make file path

* MSPF-476: Add operation_id to access log

* Upgrade to Erlang 21.3.8.4

* Refactor access log configuration

* lager -> logger

* Upgrade woody

* Fix default logger config
2019-07-03 11:11:31 +03:00
Andrey Fadeev
fdea3223ea
Update dmt_client in v2 (#355)
Update dmt_client to rbkmoney/dmt_client#27
2019-06-18 19:22:03 +03:00
Andrey Fadeev
5cb447d154
Update damsel (#351) 2019-06-18 10:21:11 +03:00
Sergey Elin
e6b02e716c
Add getPaymentByExternalID (#349)
* CAPI-357: Add GetPaymentByExternalID

* CAPI-357: Add tests, reworked code

* CAPI-357: Move test to another suite

* CAPI-357: Type in spec

* CAPI-357: Fix typo in spec

* Update apps/capi/src/capi_bender.erl

Co-Authored-By: Andrew Mayorov <encube.ul@gmail.com>

* CAPI-357: Store invoice_id whitin bender context

* CAPI-357: Simplify code

* CAPI-357: More code cleanup

* CAPI-357: Add test for missing invoice in getPaymentByExternalId

* CAPI-357: Don't mess flow

* CAPI-357: Move helper function to test
2019-06-11 16:36:47 +03:00
ndiezel0
f7e799827b
CAPI-355: Add crypto currency (#346)
* CAPI-355: Add crypto currency

* CAPI-355: Fix with existing swag definition

* CAPI-355: Fix payment methods

* CAPI-355: Review fix

* CAPI-355: indentation fix

* CAPI-355: add test

* CAPI-355: update swag version and fix tests
2019-05-31 12:20:37 +03:00
Andrew Mayorov
2ca9a4b5e1
Pass payment metadata w/ context (#334)
* Bump to rbkmoney/damsel@3883e6a
2019-04-30 18:48:47 +03:00
Boris
c0f0ee3bb5
CreatePaymentResources idempotent (#328) 2019-04-19 10:57:06 +03:00
Boris
e018c2170f
CAPI-345 Invoice idempotency (#327) 2019-04-16 16:38:14 +03:00
Артем
db3b6dcd14
CAPI-335: Empty cvv support (#320) 2019-02-26 12:47:22 +03:00
Evgeny Levenets
9b437a8ad2
DC-104: withdrawals routing (#316)
* DC-104: withdrawals routing

bump damsel to prevent crashing dmt_client

* bump one more time
2019-02-01 11:06:09 +03:00
Andrey Fadeev
996338bac4
CAPI-327 Add VM metrics to v2 (#312)
Add `how_are_you` library usage
2019-01-15 00:37:48 +03:00
Артем
0d9f6180ec
CAPI-324: Balance handle (#303) 2018-12-27 18:00:28 +03:00
Артем
3498b3cc35
CAPI-323: Wallet payout tool (#301) 2018-12-14 13:31:17 +03:00
Артем
18d22a8ebc
updated cowboy_access_log (#296) 2018-11-19 14:26:43 +03:00
Andrey Fadeev
2140c77a18
Update damsel in v2 (#291) 2018-11-03 00:09:19 +03:00
Alexey
df64102174
CAPI-304: Use BinBase when creating payment resources (#269)
* raw version of binbase integration

* upgrades from v2

* moved binbase lookup to a more suitable place

* some catches and renamings

* save metadata, save everything to token

* make metadata encoding/decoding more futureproof

* fix linter

* fix linter but better

* use actual msgpack marshalling

* accept metadata from other sources

* use mapmap instead of mapfold
2018-10-03 18:08:11 +03:00
Andrew Mayorov
8eead1cdb8
HG-441: Handle additional payproc exceptions accordingly (#271)
In line w/ rbkmoney/damsel@4c78d0d + rbkmoney/swag@5d569a5
2018-10-02 19:05:07 +03:00
Andrey Fadeev
a6bd225d65
CAPI-290 Add first payment recurrent (#256) 2018-09-26 19:39:40 +03:00
Anton Belyaev
07dff8c702
CAPI-288: support payout tool modification and new international bank account definition (#251)
* CAPI-288: support payout tool modification and new international bank account definition
* Update damsel for merchstat as well
* Remove redundant wdeps mode for CI testing
* Update .gitignore
2018-09-17 17:02:41 +03:00
Andrey Fadeev
6d6b6a8f42
HG-382 Update damsel to version with async payment start events (#239) 2018-08-02 13:54:30 +03:00
Evgeny Levenets
29d1418564
add woody deadlines on service level (#231)
* add woody deadlines on service level
* don't overwrite incoming deadline
2018-07-06 10:50:08 +03:00
Evgeny Levenets
fa26b11226
CAPI-274: add GooglePay token provider (#221)
rbkmoney/damsel@b874870
rbkmoney/swag@409bba5
2018-05-30 20:11:05 +03:00
Petr Kozorezov
b74e422004
MSPF-370: Bump erlang health (#219) 2018-05-29 17:13:35 +03:00
Evgeny Levenets
e38b404fb9
CAPI-270: support token provider in search requests (#217) 2018-05-23 11:41:36 +03:00
Andrew Mayorov
a9019e34c1
Employ dmt_client here (#216) 2018-05-17 14:10:30 +03:00
Evgeny Levenets
a6e5694bed
CAPI-266: support act preferences modification (#211) (#213)
* CAPI-266: support act preferences modification (#211)

* switch to epic damsel & swag

* rename PayoutSchedule to BusinessSchedule

* CAPI-266: support act preferences modification

* postreview fix 01

* fix forgotten field

* bump damsel & swag

* switch to master swag & damsel
2018-05-16 18:38:33 +03:00
Natalia Pulina
0dd38809d4 CAPI-260: CreatePaymentResource fixed with handling apple pay token (#193)
* CAPI-260: CreatePaymentResource fixed with handling apple pay token (#186)

* CDS-55: Adapt CreatePaymentResource to new cds protocol (#192)

* CDS-55: encode/decode bank card fixed (#201)

* CDS-55: Support tokenized bank card for GetInvoicePaymentMethods (#203)

* CAPI-268: Support of new merch_start protocol + tests fix (#200)

* sys.config fix

* sys.config fix again

* Supply token provider properly (#206)

* switch to master swag & damsel

rbkmoney/swag@82f2bb8
rbkmoney/damsel@d9b9706
2018-05-08 16:26:49 +03:00
Natalia Pulina
2a5255ecfe
MST-173: Support new merch_stat protocol (#194) 2018-04-25 16:40:54 +03:00
Evgeny Levenets
8fee9ff03c
CAPI-267: support new claim exceptions (#189) (#191)
* fix search payouts for swag v2: it does not support payoutStatus param, so we need to filter payouts on server side
* rbkmoney/damsel@83d6c99
2018-04-20 14:43:16 +03:00
Petr Kozorezov
f7ef72654d
add "health" handle (#187)
* add "health" handle

* apply review comments
2018-04-13 15:35:02 +03:00
Petr Kozorezov
74c28089e5
Capi 253/epic/error mapping (#183)
* add token consumer

* refactor a little; add error mapping for payment + tests

* update client payment error mapping

* apply review fix

* apply review comments

* update payment client mapping

* move to master branches; fix magista payments errors
2018-04-02 13:33:10 +03:00
Natalia Pulina
438fd8a495
CAPI-243: Added ex InconsistentRefundCurrency for CreateRefund (#184) 2018-03-22 18:52:23 +03:00
Natalia Pulina
3dcb2cfae9
CAPI-256: Payout stat for nonresidents (#177) (#178)
* CAPI-256: Bump rbkmoney/damsel7b82981
* CAPI-256: Bump rbkmoney/swag@d478889
2018-03-15 13:38:55 +03:00
Natalia Pulina
392cc44953
CAPI-243: Introduce partial refunds (#169)
* CAPI-243: Introduce partial refunds (#154)

* CAPI-243: Enrich refund in event with payment cash (#157)

* CAPI-243: Bump rbkmoney/swag@ceb426d

* CAPI-243: Refund events fixed (#171)

* CAPI-243: decode_refund_for_event fixed (#174)

* CAPI-243: Bump rbkmoney/damsel@349d26c

* CAPI-243: Bump rbkmoney/swag@725f9bf

* CAPI-243: Bump rbkmoney/swag@8604a1aa
2018-03-06 18:13:47 +03:00
Evgeny Levenets
17488244fc
CAPI-251: add payout terms support (#158) (#159)
* CAPI-251: add payout terms support (#158)

* CAPI-251: fix schedule modification decoding (#160)

* CAPI-251: claim test improvements (#163)
2018-02-27 14:50:26 +03:00
Andrew Mayorov
5fc13a5aa4
Bump up rbkmoney/cowboy_access_log@99df4e8 (#155) 2018-02-12 12:54:28 +03:00
Andrew Mayorov
f653e420a0
CAPI-231: Put the notion of digital wallets into this shithole (#145)
* CAPI-231: Proudly employ cowboy_access_log

* BA-52: Bump to master rbkmoney/swag@13e66dd

* BA-52: Bump to master rbkmoney/damsel@620cca5
2018-01-24 17:16:39 +03:00
Andrew Mayorov
99dc16fd96
CAPI-217: Support payment institutions (#147)
*  CAPI-223: add payment institution support (#143)
* CAPI-235: add international legal entity & bank account (#146)

rbkmoney/damsel@07fbb30
rbkmoney/swag@963e8f2
2018-01-22 13:32:35 +03:00
Dmitry Manik
e034927548
Subs-2 (#136) 2017-11-22 15:52:36 +03:00
Andrew Mayorov
441a4e5893
Bump to rbkmoney/lager_logstash_formatter@83a0f21 (#133) 2017-11-16 14:50:43 +03:00
Evgeny Levenets
092738cc4c CAPI-180: penetrate invoice cart into invoice template (#115)
rbkmoney/hellgate@b877a59
rbkmoney/swag@f1d5876
rbkmoney/damsel@8271b2e
2017-10-25 19:47:41 +03:00