Commit Graph

332 Commits

Author SHA1 Message Date
Andrey Fadeev
74ce0cd4a0
Add formatter (#492)
* Add erlfmt
* Apply erlfmt
* Update build-utils
2020-10-14 11:45:53 +03:00
Boris
9f1b092b41
Capi-414: change idempotent checker algorithm create payment (#470) 2020-09-17 17:10:33 +03:00
Sergey Yelin
3ff33850a7
black lists (#490)
* Revert "Revert "CAPI-278: api keys blacklist (#235)" (#237)"

This reverts commit b482abaf0f.

* Add back blacklists
2020-09-15 08:40:30 +03:00
Toporkov Igor
4fec1aeb85
Hide tokenization method from public API (#488) 2020-07-29 19:09:52 +03:00
Toporkov Igor
9b6c33f44d
DC-127: Refactor payment methods (#483)
* DC-127: Refactor payment methods (#479)

* Use corresponidng epic damsel branch

* Make adjasments for new protocol version

* Update dummy data

* Use new dummy data, remove unexisting include

* Upgrade damsel

* Delete redefined macro

* Handle deprecated payment methods

* Use deprecated payment methods in dummy data

* Use master branch of damsel

* Update dependencies

* Add new payment methods to fixture

* Use library function for partitioning
2020-07-25 21:59:37 +03:00
ndiezel0
5ab42aeff7
CAPI-424: Change config (#486) 2020-07-14 16:38:52 +03:00
Roman Pushkov
fb91862e79
MSPF-487: graceful shutdown (#485)
* add drainer dep

* use drainer

* remove drainer tests

* update .app.src
2020-07-14 14:05:49 +03:00
Boris
8b29d2cfe1
MSPF-562: update damsel, add BankCard category, condition (#480) 2020-06-16 10:18:15 +03:00
Alexey
b802023836
FF-183: Upgrade damsel (#478) 2020-06-15 11:05:50 +03:00
Boris
0268dbeba4
impl callback map_error() (#476) 2020-05-13 13:55:24 +03:00
Sergey Yelin
1dd0d045c4
Update uac (#474)
* Update uac

* Fix typo
2020-05-07 09:18:44 +03:00
Sergey Yelin
2d3cd91661
MSPF-532: get rid of rfc3339 (#473)
* MSPF-532: Update image

* MSPF-532: Remove rfc339 from capi

* Upgrade libs

* Update uac

* Refactor auth code

* Fix dialyzer errors
2020-04-27 18:43:54 +03:00
Roman Pushkov
52c9a22706
CAPI-417: hooker limit exceeded (#472)
* update damsel

* add test placeholder

* add handler placeholder

* update swag

* fix mock

* Update capi_base_api_token_tests_SUITE.erl

* fix syntax error

* test fix
2020-04-15 11:38:45 +03:00
Alexey
d020d19792
HG-535: Handle the new invoiceTermsViolated hg error (#471) 2020-04-06 11:04:24 +03:00
Roman Pushkov
bc3237656a
CAPI-375: chargebacks, capi handlers (#387)
* update swag

* bump damsel

* update dummy data

* add tests

* add chargebacks handlers

* add chargeback decoder

* update capi client

* Update capi_client_payments.erl

* update tests

* Update capi_dummy_data.hrl

* Update capi_dummy_data.hrl

* fix tests

* fix typo

* Update capi_base_api_token_tests_SUITE.erl

* refactor decoder

* fix indentation

* fix unused context

* add cb auth

* Revert "update swag"

This reverts commit 6c0e3cadf1c3c9de156678efcab6931e38c04220.

* update swag

* decode reason code
2020-04-02 20:38:41 +03:00
Andrey Fadeev
1eb3969697
FF-164 Update damsel (#468)
Add rbkmoney/damsel#546 changes support
2020-03-10 15:20:09 +03:00
Sergey Yelin
3c5705d15f
CAPI-143: Fix crash on incomplete request (#467)
* CAPI-143: Fix crash on incomplete request

* Remove warning
2020-03-04 10:05:22 +03:00
Alexey
94637e4959
CAPI-407: Better email format validation (#466) 2020-03-02 17:15:18 +03:00
Toporkov Igor
72cb6bcbe0
CAPI-412: Choose which claims will be included into InvAccToken (#465)
* Choose which claims will be included into InvAccToken

* Fix function name
2020-02-26 12:05:05 +03:00
Toporkov Igor
3d8bb0e509
CAPI-412: Allow ip replacement in Invoice Access Tokens (#464)
* Add extra properties to invoice access tokens

* Remove redundant binapi auth domain

* Upgrade uac

* Use new uac getters
2020-02-19 19:11:50 +03:00
Boris
e2255c207f
using decrypted token with '.' (#461) 2020-01-31 14:58:31 +03:00
Boris
984497405b
Delete jwk password, update lechiffre (#457) 2020-01-23 18:55:30 +03:00
Boris
c6701e58ca
add lechiffre (#448) 2020-01-23 16:17:17 +03:00
Sergey Yelin
b0d7cb89c8
Add mobile commerce decoder to search (#453)
* Add mobile commerce decoder to search

* Fix dialyzer errors
2019-12-18 12:23:58 +03:00
Sergey Yelin
ccd4ba3cc3
Add missing crypto currency decoding to search (#452) 2019-12-17 19:36:52 +03:00
Andrey Fadeev
6cc06e8464
Fix CryptoWallet payment method decoding (#449)
* Fix CryptoWallet payment method decoding
* Update swag and fix payment methods deduplication
2019-12-13 16:09:10 +02:00
Roman Pushkov
5b7bd81e35
CAPI-397: QR code & crypto currency user interaction (#443)
* decode user interaction

* fix failing tests: invoice sessions and refunds

* update lockfile

* fix failing tests: event range

* CAPI-398: Fix refunds encoder (#444)

* CAPI-398: Fix refunds encoder

* Typo

* update tests

* add revision to getinvoicepaymentmethods

* add revision to getinvoicepaymentmethodsbytemplateid

* update swag

* explicit decimal points for crypto

* change unwrap to match on ok tuple

* rework crypto interaction decoder

* add unit test for crypto decoder, fix

* formatting fix

* extra test cases

* review updates

* shorten line

* typo fix
2019-11-29 12:27:26 +03:00
Sergey Yelin
9bd2cf3098
Remove optional header (#445) 2019-11-28 15:26:46 +03:00
Артем
c1d3df222c CAPI-297: Cart to payment and refund (#329)
* added cart to payment and refund

* fixed

* review fix

* updated swag

* added requested changes

* nano

* added cart to dummny handler match

* Add missing throw handling

* Fix
2019-11-27 11:01:03 +03:00
Boris
a56643e878
payment method mobile commerce (#441) 2019-11-20 18:24:38 +03:00
Toporkov Igor
db93757e3c
Add bin-api permissions to InvoiceAccessToken (#439) 2019-11-06 20:01:43 +03:00
Toporkov Igor
f7274d1ad5
CAPI-396: Migrate to uac (#438)
* Migrate to uac

* Deduplicate get_unique_id/0

* Remove redundant logging

* Simplify types in capi_auth

* Use macro for token signee

* Fix indentation

* Log OperationID in case of authorization failure

* Return keyset to the capi config

* Provide dummy snowflake config

* Deduplicate unique_id/0

* Remove from access info from config

* Rework uac configuration
2019-11-06 16:58:46 +03:00
ndiezel0
ed168bef38
CAPI-395: Bump reporter_proto (#436) 2019-10-29 17:06:51 +03:00
Alexey
0497bb8323
CAPI-389: Get Invoice by ExternalID (#435) 2019-10-23 15:57:13 +03:00
Toporkov Igor
fad3f38c61
CAPI-390: Remove getRefundsByExternalID (#434)
* Bump swag

* Removed getRefundsByExternalID
2019-10-22 15:20:33 +03:00
Toporkov Igor
620bd17447
CAPI-390: Get refunds by externalID (#433)
* wip: implement refund search

* Tests and style fixes

* Handle refund not found exception
2019-10-18 12:24:12 +03:00
Sergey Yelin
ea1b59d43b
Add missing mobile payment method (#432) 2019-10-16 10:40:27 +03:00
Toporkov Igor
df67f55934
Bumped image with codegen (#428) 2019-10-10 18:57:47 +03:00
ndiezel0
2c544098f8
CAPI-385: Update reporter (#425)
* CAPI-385: Update reporter

* CAPI-385: Add GetReport check test, fix dialyzer

* CAPI-385: Add DownloadFile id checks and test for it
2019-10-10 12:15:22 +03:00
Alexey
6085f0a2a7
HG-497: PCIDSS cleanup (#416) 2019-10-04 15:26:18 +03:00
Boris
96e5ce3968
Capi 371/ft/mobile commerce (#406) 2019-09-18 18:53:06 +03:00
Toporkov Igor
885c7580a0
CAPI-362: Search refunds by RRN and ACC (#423)
* bump swag

* Added rrn and acc to search

* Removed unnessesary symlink

* Added keys instead of symlink
2019-09-18 17:39:08 +03:00
Toporkov Igor
2d227c856f
MSPF-456: Business deadlines (#405)
* Updated swag commit

* Bumped and renamed damsel

* De-hardcoded oops body test

* Added payment deadlines

* Added parsing error clause handling

* Added default deadlines

* Bump damsel

* Increased test payment deadline

* Bumped swag

* Actualized damsel

* Added env for processing deadline

* Beautify indentation

* Clarified processing deadline related names

* Respond with an error on invalid processing deadline

* Revert "Respond with an error on invalid processing deadline"

This reverts commit fd964027193c8b15ea7d8b21a5441bbfa10854d8.

* Hide processingDeadlineReached error from client

* bump swag

* Add processing deadline error

* Rename dmsl in new test
2019-09-16 17:49:37 +03:00
Sergey Yelin
fca18020b1
Add gracefull_shutdown_timeout to sys.config (#419)
* Add gracefull_shutdown_timeout to sys.config

* Typo in config option
2019-09-12 14:55:11 +03:00
Sergei Shuvatov
6725db594d CAPI-363: gracefull shutdown (v2) (#417)
* CAPI-363: gracefull shutdown

* Remove extra permissions

* Move draner's spec generation to capi_swagger_server

* Add timeout to capi_gracefull_shutdown_SUITE test

* Use supervisor for running subprocesses

* Rework timeout

* Force drop log lived requests

* Review fixes
2019-09-12 12:50:27 +03:00
Alexey
d9cafafef1
CAPI-366: Offset refund ids (#414) 2019-08-27 14:01:54 +03:00
Alexey
be66e0eae7
CAPI-366: Refund idempotency (#386) 2019-08-26 18:28:12 +03:00
Roman Pushkov
f94257c1c0
CAPI-380: search invoice by rrn (#409)
* add rrn to invoice search

* update swag
2019-08-21 11:55:19 +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
af2bb80e08
Add scoper to v2 (#403)
* Add scoper
* Add metadata collecting
2019-08-09 13:52:20 +03:00
Andrey Fadeev
f0f6f48058
Remove payment id shift in v2 (#398) 2019-08-07 12:22:07 +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
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
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
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
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
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
Артем
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
Артем
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
Артем
3498b3cc35
CAPI-323: Wallet payout tool (#301) 2018-12-14 13:31:17 +03:00
Evgeny Levenets
08149ae83b
CAPI-320: add retries for woody timeout errors (#299)
* CAPI-320: add retries for woody timeout errors

* add little more sense to retry test
2018-12-06 14:35:21 +03:00
Evgeny Levenets
99d6f97d16
CAPI-320: add woody retries to capi_woody_client (#297) 2018-11-26 11:46:01 +03:00
Andrew Mayorov
44adf3bef4
Avoid setting token provider w/ plain bank cards (#293) 2018-11-08 13:22:37 +03:00
Andrey Fadeev
2140c77a18
Update damsel in v2 (#291) 2018-11-03 00:09:19 +03:00
Alexey
49fda24b5b
CAPI-305: Fix bad token handling when processing magista results (#289) 2018-10-26 16:21:24 +03:00
Артем
0fdcb77ebe
CAPI-314: New filedownload response (#281) (#283) 2018-10-26 16:00:08 +03:00
Артем
94004f15e1
CAPI-315: Deadline header bugfix (#286) 2018-10-24 10:32:12 +03:00
Alexey
1f6d7d3ee1
CAPI-313: Fix paymentSession swagger crash (#282) 2018-10-18 15:53:52 +03:00
Alexey
922691ad3c
CAPI-307: Fix handling of invalid Residence codes (#279) 2018-10-17 18:01:47 +03:00
Alexey
871b797fe1
CAPI-304: fix encoding payment_system (#277) 2018-10-05 16:22:10 +03:00
Alexey
c127e78273
CAPI-304: add binbase_proto to deps (#275) 2018-10-04 16:59:40 +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
Andrew Mayorov
3cc985534f
CAPI-308: Provide report status through rbkmoney/swag@d33f146 (#270) 2018-10-02 17:49:12 +03:00
Артем
891fb7903e
CAPI-301: Deadline to request header (#268) 2018-09-28 14:15:43 +03:00
Andrey Fadeev
a6bd225d65
CAPI-290 Add first payment recurrent (#256) 2018-09-26 19:39:40 +03:00
Evgeny Levenets
2662370aab fix international bank account encoding (#263) 2018-09-25 11:59:12 +03:00
Andrew Mayorov
bce29cdff9
CAPI-293: Do not discard pending reports upon listing (#258) 2018-09-21 17:39:34 +03:00
Alexey
fa11e8f1ba CAPI-293: Generate reports (#254) 2018-09-21 15:45:06 +03:00
Alexey
3e3efc1d1b
CAPI299: fix report validation (#255) 2018-09-20 18:19:18 +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
Evgeny Levenets
25cebc5123
fix error handling in tokenized payment tool unwarpping (#249) 2018-08-24 12:34:33 +03:00
Evgeny Levenets
8643f86c0b
CAPI-286: fix StatPayment decoding (#248)
add statusChangedAt field decoding
2018-08-21 14:53:04 +03:00
Evgeny Levenets
5ad33b4661
CAPI-282: add private entity to public api (#246)
* CAPI-282: add private entity to public api

* add encoding for private entity
2018-08-16 12:18:08 +03:00
Evgeny Levenets
aaa0bcce08
CAPI-282: fix wallet contracts and claims decoding (#244)
filter out wallet claims
2018-08-15 14:53:42 +03:00
Evgeny Levenets
9975a30c8f
CAPI-281: add ability to search refunds (#243) 2018-08-10 11:57:56 +03:00
Evgeny Levenets
777eee69bd
filter out wallet claims (#241) 2018-08-02 16:16:35 +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
b482abaf0f
Revert "CAPI-278: api keys blacklist (#235)" (#237)
This reverts commit 9f1f4af840.
2018-07-31 15:16:59 +03:00
Evgeny Levenets
9f1f4af840
CAPI-278: api keys blacklist (#235) 2018-07-25 20:09:03 +03:00
Evgeny Levenets
8b67141cfa
MST-173: modify statistics api to support chunk streaming (#233)
* bump rbkmoney/swag@214278d
2018-07-12 17:28:33 +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
7636a7ada8
Rename GooglePay params properly (#229)
* bump swag

* Rename GooglePay params properly

rename merchantID -> gatewayMerchantID to match adapter's protocol

* rename in test
2018-07-04 19:15:52 +03:00
Evgeny Levenets
440d9f03e3
fix GooglePay test card data case (#227) 2018-05-31 19:47:10 +03:00
Evgeny Levenets
e7a3cdc10e
fix GooglePay routing (#224) 2018-05-31 17:17:43 +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
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
Anton Belyaev
6545be53fc
Print card BIN (#210) 2018-05-11 12:14:18 +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
Andrew Mayorov
d9135c3b10
Adapt to the swag w/ refined 400s (#207)
* Update to rbkmoney/build-image@5623136

* Remove some dead code

* Adapt to rbkmoney/swag#188

* Bump to rbkmoney/swag@704ab97
2018-05-07 18:50:57 +03:00
Evgeny Levenets
2068f86867
fix badmatch error from JWT lib (#195) 2018-04-25 18:52:27 +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
b4e2d6b6ff
CAPI-243: If refund hasnt currency, get currency from payment (#175) 2018-03-07 18:22:46 +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
Evgeny Levenets
e220461648
fix invalid request handling on CreateClaim (#168) 2018-02-22 19:00:51 +03:00
Evgeny Levenets
1afa371b45
fix residence encoding (#165) 2018-02-22 17:57:18 +03:00
Andrew Mayorov
1673261ca1
BA-52: Fix merchstat marshalling (#152) 2018-01-25 20:04:00 +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
Andrew Mayorov
b6152a9565
CAPI-229: Do not idle poll every time (#140) 2017-11-28 19:33:45 +03:00