Commit Graph

425 Commits

Author SHA1 Message Date
Andrey Fadeev
f0f6f48058
Remove payment id shift in v2 (#398) 2019-08-07 12:22:07 +03:00
Sergey Yelin
6a3ba4d85d
Fix crash on empty body in cowboy_access_log (#395) 2019-08-06 15:15:46 +03:00
Alexey
febf6ed473
CAPI-368: Cut longer bins to swag spec (#389)
* CAPI-368 Cut longer bins to spec

* CAPI-368: Only cut when there are things to cut
2019-08-05 12:39:11 +03:00
Andrew Mayorov
5421c26276
Make lazy hack to not lose CORS headers on 500s (#394) 2019-07-26 13:44:34 +03:00
Andrey Fadeev
b9e6dff96f
Change v2 dependencies start order (#393) 2019-07-25 20:41:59 +03:00
Andrey Fadeev
f4393d903c
Update woody (#392) 2019-07-25 17:51:40 +03:00
Andrey Fadeev
0b4fe30a99
Add transport options to services settings in v2 (#391) 2019-07-25 16:55:15 +03:00
Kostya
bdf1f1f9fe #CAPI-370 Add fields to payer (#381)
* Add fields to payer

* Update swag

* ft/add-fields-payer

* Refactor

* Fix type

* update swag

* update dummy data

* update invoice tests

* update invoicing decoder

* update search handler

* fix comment

* fix dummy data

* fix formatting, refactor
2019-07-24 16:39:32 +03:00
Andrey Fadeev
02387b7833
CAPI-368 Add processing empty bin for tokenozed cards (#388)
* Add processing empty bin for tokenozed cards
* Add empty bin processing to decoders
2019-07-23 14:25:00 +03:00
Sergey Elin
829a5b54b5
[v2] Fix crash on health check handler (#384) 2019-07-18 22:33:42 +03:00
Alexey
69b6220111
CAPI-368: Update BankCardDetail (#382) 2019-07-18 18:36:28 +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
Sergey Elin
915c45dd86
[v2] Fix logging operation_id with new swagger-generator (#376)
* Fix logging operation_id with new swagger-generator

* Move decision logic to swagger-codegen

* Update build image
2019-07-12 16:27:37 +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
Alexey
352eb27f8e
CAPI-365: Update build image, set mild validation for responses (#364) 2019-07-08 12:47:25 +03:00
Toporkov Igor
ee6da13f2d
Removed unnecessary meta (#363) 2019-07-05 12:29:01 +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
Roman Pushkov
83543f1aec
CAPI-361: unified card number search (v2) (#357)
* update handler

* update test

* update swag

* comma
2019-06-28 11:52:20 +03:00
Andrey Fadeev
a5831d7f38
Temporary disable jwt expiration check in v2 (#359)
The same as #284
2019-06-21 19:58:28 +03:00
Roman Pushkov
d9e2c2c42c
CAPI-354: add RRN/AAC to payment search (#350)
* add tags to gitignore

* prepare transaction info handler

* prepare test with rrn

* prepare rrn and aac in search

* update dmsl

* uncomment after dmsl update

* update swag

* update handler

* update tests

* comment out rrn

* fix dummy data

* compact map

* added more explicit comments in tests
2019-06-19 19:48:20 +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
Toporkov Igor
42505acf31
CAPI-360: Deduplication (#353)
* Implemented deduplication

* Fixed improper typing

* Simplified deduplication

* Moved deduplication to utils
2019-06-18 16:36:53 +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
Toporkov Igor
dddb3a6e6c
Fixed ip_replacement_allowed value type (#348)
* Fixed ip_replacement_allowed value type

* Stricter match on ip_replacement_allowed value

* Simplified ip replacement

* Use false as default ip_replacenent_allowed value
2019-06-07 11:58:03 +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
Alexey
99a6487422
[v2] Use operation id as bender prefix (#343)
More at #344 #345
2019-05-29 13:43:37 +03:00
Sergei Shuvatov
32f6d82e4e
Fix refs to externalID (v2) (#338)
Fixes check for length of externalID
2019-05-16 13:43:45 +03:00
Boris
869e0313c1
test invoice template; elvis config; same prefix in deferent version (#336) 2019-05-14 14:43:25 +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
00a13eb2f5
Create invoice with template[idempotent] (#332) 2019-04-25 12:49:51 +03:00
Boris
f2b2b4bd45
fix (#331) 2019-04-24 13:33:17 +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
Артем
b33a432d30
CAPI-341: Decode for empty cvv method (#323) 2019-03-14 14:13:13 +03:00
Артем
b92b8ba9a3
CAPI-339: Ignore empty cvv in google pay plain card (#322) 2019-03-05 17:29:17 +03:00
Toporkov Igor
4ff024e65c
CAPI-338: capture client ip (#321)
* Added client sent ip support

* Added extra token properties support, covered ip support tests

* bumped swag commit

* De-hardcoded ip replacement tests

* Added extra properties support for templates

* Use utils functions instead of bicycles
2019-03-04 13:27:26 +03:00
Артем
db3b6dcd14
CAPI-335: Empty cvv support (#320) 2019-02-26 12:47:22 +03:00
Артем
6d57fd9655
CAPI-330: Partial capture (#314) 2019-02-06 14:43:05 +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
Артем
03fbbda108
deleted old files (#315) 2019-01-29 15:12:18 +03:00
Артем
c5b1f96a65
added func clause (#313) 2019-01-23 14:44:33 +03:00
Артем
46e396a30f
CAPI-200: Handler decouple (#305) 2019-01-22 15:50:21 +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
Andrey Fadeev
a33cac33b6
Allow negative fee in payout summary item (#310)
Update swag to rbkmoney/swag#271
2019-01-11 16:26:19 +03:00
Andrey Fadeev
c4b2f0c2db
Add 20% VAT option (#309)
Bump swag to rbkmoney/swag#269
2019-01-10 10:45:54 +03:00
Артем
4c63bdd33b
CAPI-326: Party check (#304) 2018-12-28 18:18:50 +03:00
Артем
0d9f6180ec
CAPI-324: Balance handle (#303) 2018-12-27 18:00:28 +03:00
kloliks
a27c4880e2
CAPI-318: webhook update swag (#302) 2018-12-26 12:23:05 +03:00