Commit Graph

431 Commits

Author SHA1 Message Date
Toporkov Igor
6ea1c313fe
Use base.Timestamp to represent payment deadline (#481) 2019-08-16 13:08:04 +03:00
Alexey
bccc2a8e36
HG-497: Add domain and party revision fields where necessary (#480) 2019-08-15 16:44:58 +03:00
Toporkov Igor
9582ac970b
Added missing payment deadlines (#479) 2019-08-15 15:32:03 +03:00
Toporkov Igor
83655a86c3
Added payment deadline (#478) 2019-08-14 14:25:20 +03:00
Boris
6db00b3551
mv timeout_behaviour; add to session (#467) 2019-08-09 10:58:32 +03:00
Alexey
01a8ed4949
HG-497: Customer binding desync (#476) 2019-08-08 14:53:38 +03:00
Артем
5d47bde5f3
FF-105: Get quote errors (#470)
* added exceptions

* another way

* added requested changes

* nano

* nano
2019-08-01 19:17:29 +03:00
Alexey
ae26a6cdcd
HG-496: Add new event to pass partial capture params (#473)
* HG-496: Add new event to pass partial capture params

* HG-496: Request -> Started

* HG-496: Use InvoicePaymentCaptureParams for params

* HG-496: Generic capture started event, dont pass cashflow in it
2019-08-01 12:37:38 +03:00
Andrey Fadeev
2044908c96
Set CreateManualRefund exceptions same as in RefundPayment (#471) 2019-07-25 13:43:26 +03:00
Boris
95ff6025b9
paymentMethod MobileCommerce to MobileOperator (#463) 2019-07-19 18:48:38 +03:00
Alexey
21ea9444ff
Add manual id and external_id to refunds (#464) 2019-07-16 16:30:05 +03:00
Anatoly Cherkasov
9ae76307a4
FF-93: add destination tag (#454) 2019-07-15 13:06:53 +03:00
Boris
d85ca6cb56
add processing error 'operation_amount_incorrect' (#461)
* add LimitSpanExceeded for amount
2019-07-15 10:16:28 +03:00
Артем
6881068c11
added weight (#462) 2019-07-09 16:20:25 +03:00
Boris
78c11285e2
TimeoutBehaviour to union (#460) 2019-07-04 12:58:18 +03:00
vitaxa
78d9862155
Change in merch stat (#459)
- add crypto currency
2019-07-04 12:29:12 +03:00
vitaxa
d06c7166ba
Payment stat change (#458)
transaction_info to additional_transaction_info
2019-07-03 18:35:10 +03:00
Артем
5397aa5a39
renamed (#457) 2019-07-02 15:33:36 +03:00
Andrey Fadeev
edf8e47d78
Add indexes to domain.Residence enum (#456) 2019-07-02 12:46:01 +03:00
Boris
291a6ed902
PROXY-322 mobile commerce, suspend add timeout behaviour (#453)
add mobile commerce, suspend timeout behaviour
2019-07-01 13:50:00 +03:00
Alexey
25232b2bdb
HG-458: New adjustment status, refund error class, optional trx_info for RefundCreated evt (#451) 2019-06-28 14:14:00 +03:00
Артем
47767ae734
FF-93: FIX - Get rate point (#455)
* changed to get rate point instead of rate table

* minor
2019-06-28 12:12:39 +03:00
Артем
1a88905f44
FF-93: Hold/capture withdrawal (#449)
* added hold/capture withdrawal

* fixed

* added 2 vars - simple and table

* fixed

* fixed

* minor

* fixed

* minor
2019-06-26 16:22:43 +03:00
Andrey Fadeev
2f1a27c60e
HG-472 Try to inject priority field into exists TerminalRef (#439) 2019-06-24 16:45:43 +03:00
a.romanov
0b8b408b91
BJ-502 Add access token to digital wallet struct (#450)
* BJ-502 Add access token to digital wallet struct

* Code review fix
2019-06-20 17:34:58 +03:00
Roman Pushkov
e8ad32f418
add TransactionData to StatPayment (#448) 2019-06-14 11:20:10 +03:00
Roman Pushkov
d99319c1db
HG-477: Allow provider fee selection by terminal (#447)
* add terminal_is condition, remove terms from terminal

* deprecate terms in Terminal instead of deleting

* revert, make payment provision terms fields optional
2019-05-30 14:07:59 +03:00
Pospolita Nikita
70373bd27b
dark merch stats added (#446)
* dark merch stats added

* review fix

* review fix
2019-05-24 15:34:44 +03:00
Roman Pushkov
cb98b8ab1a
Revert "HG-477: Allow provider fee selection by terminal (#441)" (#444)
This reverts commit 62f34cecd7.
2019-05-22 13:26:49 +03:00
Pavel Popov
26d842ae5b
Add crypto currency in PaymentToolCondition (#443)
* Add crypto currency in PaymentToolCondition

* Review fixes
2019-05-21 17:21:25 +03:00
Andrew Mayorov
b065cb3d7b
Expose transition validation flag in repair params (#442) 2019-05-20 15:31:30 +03:00
Roman Pushkov
62f34cecd7
HG-477: Allow provider fee selection by terminal (#441)
* add terminal_is to conditions

* remove payment provision terms from terminal
2019-05-20 12:15:17 +03:00
Anatolii Karlov
f64ac93818
BJ-445: add crypto currency transfer request user iteraction (#436) 2019-05-17 18:13:45 +03:00
Артем
b2bd59b4e5
DC-98: Shop cart to payment and refund (#427)
* added shop cart to payment and refund

* added cart to merch stat

* on the way to deleting capture new

* saved cart only in capture status, not payment

* fix
2019-05-17 12:07:25 +03:00
Anatoly Cherkasov
ff13e2313d
PROX-295: add ewallet (#440)
* PROX-295: add crypto wallet
2019-05-15 13:44:12 +03:00
Pavel Popov
1ea3e7476f
Full invoices and payments (#438)
* Full invoices and payments

* Refactored structure

* fix review

* fix review
2019-05-13 18:12:51 +03:00
Andrew Mayorov
3883e6a0be
Allow to define payment context through params (#437) 2019-04-30 17:43:41 +03:00
ndiezel0
02be09ec89
CDS-71: Redone Keyring (#435)
* CDS-76: Change rotate to use keyshare (#413)

* CDS-76: Change rotate to use keyshare

* CDS-76: Add extra exceptions (#414)

* CDS-75: Keyring init (#415)

* CDS-75: Change Keyring.Init and add Keyring.Validate

* CDS-75: fixed missed exception

* CDS-75: add exception for double init and method to cancel it

* CDS-75: Rename `Init` to `StartInit`

Co-Authored-By: ndiezel0 <ndiezel0@gmail.com>

* CDS-75: introduce InvalidStatus exception, remove PublicKey and refactor

* CDS-75: fix typos and add comment

* CDS-75: void instead of Success

Co-Authored-By: ndiezel0 <ndiezel0@gmail.com>

* CDS-75: add Unlocked/Locked and OperationAborted

* CDS-75: add OperationAborted to relevant methods

* CDS-75: change relevant methods to use InvalidStatus

* CDS-75: add comments to `EncryptedMasterKeyShare`

* CDS-75: divide Status into Status and Activity

* CDS-75: changes due to realization

* CDS-75: add InvalidActivity exception to ValidateInit (#417)

* CDS-75: fix Status typo (#418)

* CDS-75: Add ShareholderId to all MasterKeyShare methods (#420)

* CDS-75: Add ShareholderId to all MasterKeyShare methods

* CDS-75: added missing ValidateInit

* CDS-75: Add VerificationFailed exception (#421)

* CDS-76: Refactor Unlock and Rotate to be similar to Init (#423)

* CDS-76: Add missing Activity enums (#424)

*  CDS-25: Add methods for re-keying (#419)

* CDS-25: Add methods for re-initialization

* CDS-25: add relevant comments

* CDS-25: change to rekey and make GetState universal

* CDS-25: rename `StartReKey` to `StartRekey`

Co-Authored-By: ndiezel0 <ndiezel0@gmail.com>

* CDS-25: change GetShate to GetStates to get all states

* CDS-25: Add detailed status

* CDS-25: use ShareholderId instead

* CDS-25: typo fix

* CDS-25: rename GetStates tp GetState

Co-Authored-By: ndiezel0 <ndiezel0@gmail.com>

* CDS-25: typos fixes

* CDS-25: add requiredness and make ShareSubmitters a map

* CDS-25: Add missing params and exception (#429)

* CDS-84: Make lifetime optional (#432)

* CDS-71: fix typo

* CDS-71: rename SignedMasterKeyShare and clarify what is confirm and validate

* CDS-71: clarification that SignedMasterKeyShare is JWS
2019-04-26 18:54:35 +03:00
Sergey Elin
71ae936f38
HG-471: Added type NoRouteFoundFailure for PaymentFailure (#434) 2019-04-25 10:23:08 +03:00
Anatoly Cherkasov
ef27dd7a0d
BJ-429: ThreeDsVerificaion -> ThreeDsVerification (#431) 2019-04-19 13:08:52 +03:00
Anatoly Cherkasov
1ca5bcd53f
BJ-429: add additional trx info (#430)
* BJ-429: add additional trx info
2019-04-16 17:55:27 +03:00
Sergei
c40c89d653
CDS-83: add PutCard and PutSession methods to cds storage service (#426)
Revert changes made in #425
2019-04-11 17:28:28 +03:00
Sergei
45dc92c870
CDS-83: add IdempotencyKeyConflict exception to PutCardData method (#425) 2019-04-10 20:23:55 +03:00
Sergei
dcf42cc135
CDS-83: add params arg with idempotency_key field to PutCardData method (#422) 2019-04-10 15:49:38 +03:00
Sergei
e51512a536
CAPI-340 Invoice idempotency (#416)
* Add external_id to InvoiceParams, InvoiceWithTemplateParams, InvoicePaymentParams
* Add external_id to  Invoice and InvoicePayment structs
* Add invoice id to InvoiceParams and InvoiceWithTemplateParams
* Add payment id to InvoicePaymentParams
2019-04-02 18:38:22 +03:00
Alexey
27b28aa4be
HG-461: Manual refund handle (#410) 2019-02-25 12:04:22 +03:00
Andrew Mayorov
3866369025
Allow to redefine action upon adhoc repair (#411) 2019-02-22 18:08:13 +03:00
Артем
aab11dfa2d
DC-115: Partial capture permit (#407) 2019-02-22 11:05:25 +03:00
Anatolii Karlov
93d3665e38
PAYOUT-112: add type in payout search request (#408)
* PAYOUT-112: add type in payout search request

* PAYOUT-112: fix enum title

* PAYOUT-112: fix
2019-02-21 15:41:14 +03:00
Артем
101572eb51
DC-113: Empty cvv (#406) 2019-02-19 12:07:27 +03:00
Артем
3abdcb4788
added capture struct (#404) 2019-02-01 13:45:02 +03:00
Evgeny Levenets
18abfb502e
DC-104: rename 'PayoutProviders' to 'WithdrawalProviders' (#403)
for consistency
2019-01-30 15:37:51 +03:00
Alexey
9914f719bf
DC-111: Add subagent to SystemAccount (#402) 2019-01-29 12:57:21 +03:00
Артем
fa8b44506d
DC-110: Partial capture (#401) 2019-01-28 13:52:37 +03:00
Артем
c01bded319
DC-107: Partial capture (#400) 2019-01-24 16:02:48 +03:00
Kostya
741a2a1efa
BJ-348 Add new method for service geo location (#399)
* Add new method for service geo location
2019-01-10 18:33:19 +03:00
Evgeny Levenets
1c28959c1a
DC-104: add payout providers (#398) 2018-12-26 20:27:44 +03:00
Pavel Popov
0fca200469
Extended changes for wallet payouts (#397)
* Extended changes for wallet payouts

* params -> shop_params

* Add amount in payout

* Add fee in payout

* Small refactor

* Review changes

* Add wallet type in magista
2018-12-24 16:36:42 +03:00
Pavel Popov
f11097581e
Wallet payouts (#395)
* Wallet payouts

* Add payout id in params

* Add metadata

* Add InvalidPayoutTool exception

* Cleanup

* Add Get method

* Add InsufficientFunds exception
2018-12-12 12:12:33 +03:00
Артем
de069ae8e6
DC-105: Wallet payout tool (#394) 2018-12-10 14:00:35 +03:00
Артем
45c8524d34
added optional sequence to event struct (#392) (#393) 2018-11-12 15:27:03 +03:00
Pavel Popov
5711f534bd
Payment domain revision in merch stat (#387) 2018-10-23 13:52:43 +03:00
Артем
71f152f5ce
HG-439: Invoice repair handle (#390) 2018-10-18 12:45:47 +03:00
Andrey Fadeev
192ba019f0
FF-7 Add more wallet accounts to cash flow and more vars to terms (#389)
* Add more wallet accounts to cash flow
* Add varset to terms retrival method argruments
* Remove obsolete wallet cash_flow names
2018-10-15 15:49:08 +03:00
Alexey
e044dd7fd9
DC-102: Improve compatibility (#391) 2018-10-12 16:24:58 +03:00
Alexey
970089c2b3
DC-102: Add Bank object to domain (#388) 2018-10-11 11:50:58 +03:00
Evgeny Levenets
8235b6f6df
HG-392: add primitive fistful limits (#385) 2018-10-04 18:07:15 +03:00
Alexey
9dd2741a3c
DC-102: Add Residence to BankCardConditionDefinition (#384) 2018-10-04 12:30:40 +03:00
Andrew Mayorov
4c78d0d545
HG-411: Add some exceptions w/ invalid status for refund operation (#383) 2018-10-02 16:35:41 +03:00
Pavel Popov
7b81c1576a
Fix in merch stat proto (#382)
* Fix in merch stat proto

* Add payment tool and contact info in customer payer
2018-10-01 20:03:37 +03:00
Alexey
1351a0ce70
CAPI-304: add metadata to bankcard (#381) 2018-09-27 17:27:52 +03:00
Alexey
f532ed0520
CAPI-304: Add additional fields to domainBankCard to handle binbase data (#380)
* Add additional fields to handle binbase data

* these fields should be optional

* reorder fields back

* renaming for clarity
2018-09-27 12:12:43 +03:00
Evgeny Levenets
2afe121230 DC-96: direct recurrents (via first payment) (#359) 2018-09-26 14:55:10 +03:00
Andrew Mayorov
4a5f2393f9
Drop stateproc proto altogether (#378) 2018-09-20 13:48:34 +03:00
Артем
c02205395c
Get party revision function (#377) 2018-09-18 14:59:25 +03:00
Andrey Fadeev
ed3116fd7e
HG-424 Add customer binding start timestamp (#375) 2018-09-17 18:30:11 +03:00
Andrey Fadeev
9f238cee7a
HG-422 Party revision to various payment structures (#372)
* Try to add party_revision to recurrent payment tool
* Add party_revision to refund and adjustment
2018-09-17 16:18:37 +03:00
Anton Belyaev
84344a32c0
Align international bank acc in merchstat (#374) 2018-09-16 22:03:51 +03:00
Anton Belyaev
ba0c901c52
HG-396: Payout tool related updates (#368)
* Add PayoutToolInfoChanged effect
* Discard redundant backward compatibility
2018-09-13 17:50:10 +03:00
Andrew Mayorov
4529702db5
Generalize the notion of InternationalBankAccount (#358)
* Drop local bank code from InternationalBankAccount
* Unify bank accounts + make it possible to modify them
2018-08-31 19:53:40 +03:00
Evgeny Levenets
01a0ab11f0
DC-97: add limit to 'Pull' function in domain config (#360) 2018-08-28 16:20:41 +03:00
Andrey Fadeev
f780cf7c2e
HG-386 Remove wallet management methods from party management (#356) 2018-08-22 00:19:27 +03:00
Andrey Fadeev
abda90bd81
HG-250 Add fallback risk scoring to inspector config (#354) 2018-08-02 13:53:49 +03:00
Andrey Fadeev
807e01b757
HG-250 Add payment failyre reasons caused by routing (#352) 2018-07-26 15:45:38 +03:00
Evgeny Levenets
1f07d422cf
Add some details to InvalidCardData exception (#350) 2018-07-25 10:55:30 +03:00
Pavel Popov
bb3d376df8
Payout amount filter (#348)
* Payout amount filter

* Add currency filter

* Other review fixes
2018-07-18 17:08:46 +03:00
Evgeny Levenets
dab5394c8c
fix legacy structures in config causing dominant crashing (#349)
* fix legacy structures in config causing dominant crashing

* add TODO
2018-07-18 15:18:13 +03:00
Andrey Fadeev
2593ffe260
HG-381 Add owner_id and shop_id to InvoicePaymentStarted event (#347) 2018-07-18 14:01:57 +03:00
Evgeny Levenets
36907b0e50
DC-83: add RBKWallet to party management (#325)
* DC-83: add RBKWallet to party management (#311)

* DC-83: new exceptions for wallets & contractors (#330)

* CDS-57: introduce identity storage service (#338)

* HOOK-86: Hooks for wallets (#337)

* HG-364 CDS-57 Rename indentity docs erlang namespace. (#339)

Renamig is caused by review rbkmoney/cds#55

* HG-364 CDS-57 Simplify cds ident protocol. Move mask functions to API (#340)

* HG-371: Introduce simplistic withdrawal processing (#333)

* HG-371: add cumulative limits (#341)

* add turnover limits to wallet service terms
* add some thoughts in form of TODOs

* Add rbkmoney to DigitalWalletProvider enum (#343)

* DC-92: add ability to compute terms for wallet (#344)
2018-07-17 17:32:10 +03:00
Pavel Popov
c1f91276ff
Add api for report cancellation (#346) 2018-07-09 19:32:26 +03:00
Andrey Fadeev
e0be900435
DC-94 Split payment start message into multiple stages (#345) 2018-07-04 17:56:19 +03:00
Pavel Popov
ea026e0258
Contract id in payout (#342) 2018-06-26 11:23:24 +03:00
Vladimir Pankrashkin
1510cd7caa
GP-5: Add GooglePay support (#336) 2018-05-28 15:19:50 +03:00
Pavel Popov
1005b6c6f2
Payment short id (#335) 2018-05-22 15:41:55 +03:00
Vladimir Pankrashkin
5b4e65da73
SHMW-30: Add option to refer account creation time (#334)
* SHMW-30: Add option to refer account creation time

* SHMW-30: Add option to refer account creation time in acc
2018-05-16 16:08:45 +03:00
Evgeny Levenets
ec88305207
DC-84: add act preferences to contract (#317) (#329)
* DC-84: add act preferences to contract (#317)

* add act preferences to contract
* enrich calendar with first day of week
* use business schedule to generalize all schedules

* Add other preferences for reports (#331)

* Add other preferences for reports

* Add reference parameter

* Review fixes

* Review fixes

* Remove unused fields
2018-05-16 16:03:37 +03:00
Andrew Mayorov
5e54b264b5 HG-357: Introduce apple pay in domain (#320)
* HG-357: Introduce apple pay in domain (#318)

* HG-357: Remove deprecated constructs from domain config (#322)

* BJ-279: Tokenized data extraction api (#319)

* BJ-279: Tokenized data extraction api

* BJ-279: Review fixes

*  CDS-55: Move verification data from card data to session data (#326)

* CDS-55: fix CardSecurityCode (#327)

* Apple pay in merch stat (#332)

* Apple pay in merch stat

* Review fixes
2018-05-08 12:28:28 +03:00
Vladimir Pankrashkin
cd58cb5dbb MST-173: Existing statistics api modified to support chunk streaming mode (#316) 2018-04-20 21:29:58 +03:00
Evgeny Levenets
9fbdcd8101
HG-334: new exceptions for claims (#308)
* new exceptions for claims should replace InvalidRequest
* decompose reason to shop & contract
2018-04-19 19:44:56 +03:00
Pavel Popov
5e0b522e1d
Payout currency in model for search (#328) 2018-04-18 15:08:01 +03:00
Pavel Popov
b0806eb1d5
Report improvements (#324)
* Add datetimes in payment and invoice statuses (#323)

* Switch to optional
2018-04-09 16:22:50 +03:00
Petr Kozorezov
2003e8fa1a
update payment errors list (#321)
* update payment errors list

* apply review comments
2018-03-30 16:56:12 +03:00
Pavel Popov
fcf17cc5eb
Stat error mapping (#310) 2018-03-28 16:17:44 +03:00
Pavel Popov
b9b7538ae3
MST-170: Search for refunds (#314)
* Search for refunds

* Add other identificators (invoice, payment, party and shop id)

* Add datetime in statuses
2018-03-27 13:50:26 +03:00
Natalia Pulina
73652893ee
HG-330: New ex InconsistentPaymentCurrency -> refundPayment (#315) 2018-03-22 15:42:45 +03:00
Inal Arsanukaev
4f6ecfe59d
PAYOUT-73: Manual sending report (#313)
* PAYOUT-73: Manual sending report

* Excluded -> included

* Fixed comment for GeneratePayouts

* Joined and renamed method
2018-03-21 17:53:36 +03:00
Inal Arsanukaev
17857b0aa8
HOOK: fix structure to union (#312) 2018-03-16 16:29:27 +03:00
Pavel Popov
2bfa1a5f2c
Nonresidents payouts stats (#307)
* Nonresidents payouts stats
2018-03-15 13:03:41 +03:00
Natalia Pulina
cdf69d5c85
HG-330: Introduce partial refunds (#291)
* HG-330: Introduce partial refunds and terms (#289)

* HG-332: InvoicePaymentRefund is enriched with cash (#290)

* HG-330:
- TimeSpan added;
- optional cash in InvoicePaymentRefundParams;
- ex InvoicePaymentAmountExceeded added.

* HG-330: TimeSpanSelector for eligibility_time

* HG-330: Add some comments, use InvoicePaymentMaximumAmountExceeded ex

* HG-330: InvoicePaymentAmountExceeded fixed

* HG-339: operation_amount -> CashFlowConstant (#300)

* HG-341: Introduce provision terms for partial refunds (#301)

* HOOK-76: Partial refunds for webhooks (#309)
2018-03-06 17:04:49 +03:00
Vladimir Pankrashkin
a46ee27a7c
Ft/bm 43/geck support (#306)
* BM-43: Pull up stock event info definition
2018-03-01 15:02:35 +03:00
Vladimir Pankrashkin
50433e33d9
BM-43: Add BM interface with Geck support (#305)
* BM-43: Add BM interface with Geck support

* BM-43: Review fix: replace binary with base.Content

* BM-43: Version is string now (support epic)

* BM-43: Rollback - no epic support

* BM-43: No chance, no rules here
2018-02-28 17:11:03 +03:00
Andrew Mayorov
3dd66accb3
DC-66: Introduce payout terms (#283)
* DC-66: Introduce payout terms (#269)
* DC-66: Generalize cash flow constants
* DC-78: add ability to disable scheduled payouts (#284)
* DC-76: add ability to calculate fees for payout (#285)
* HG-312: add payout method condition (#294)
* HG-312: change InvalidRequest to OperationNotPermitted (#295)
* DC-80: enlarge international entities (#297)
* PAYOUT-52: Nonresidents in payout events (#298)
* CAPI-251: add varset for payment institution terms computation (#302)
2018-02-26 15:14:59 +03:00
Petr Kozorezov
c3ea314f4f
HG-338: introduce new errors for universal mapping; remove obsolete proxies files (#293)
* HG-338: introduce new errors for universal mapping; remove obsolete proxies files

* apply review comments

* add error static to dynamic converting example

* apply review comments

* apply more review comments

* apply more review comments

* refactor a static representation for payment processing errors

* add namespaces

* apply more review comments

* apply more review comments

* apply more and more and more review comments
2018-02-15 15:55:50 +03:00
Andrew Mayorov
7904077554
Allow for ad-hoc repairs w/ the ability to push arbitrary changes (#303) 2018-02-15 11:20:36 +03:00
Andrew Mayorov
32fc7d9ed8
Make Keyring service exception interface complete (#288) 2018-01-26 16:29:00 +03:00
Andrew Mayorov
620cca5366
DC-69: Introduce digital wallet as a payment method (#268)
* HG-325: Introduce concept of rounding for CashVolumeShare (#279)
2018-01-24 16:14:35 +03:00
Evgeny Levenets
284cb1ad85
BA-43: Bring payment institutions on the table (#259)
DC-62: add payment institution (#254)
  * add payment institution
  * add PaymentInstitutionRealm to identify test or live one
  * bump build image for the best thrift compiler
  * add PaymentInstitutionRef to contract creation params
  * remove shop, contract and party proto entirely

DC-64: add discrete party revisioning (#258)
  * add discrete party revisioning
  * add special PartyCreated change to separate service interface and event payload

DC-64: make party revisioning in change instead of event (#261)

DC-71: add international legal entity and bank account (#270)

DC-75: add migration data to Globals (#277)

DC-75: add backwards compatibility to party events (#278)
  * add notes about party revisioning
2018-01-19 16:44:26 +03:00
Pavel Popov
ee5c9c4b56
Payout processing improvements (#263)
* Payout processing improvements
2018-01-18 14:55:19 +03:00
Anatoly Cherkasov
b1da1ba687
PROX-136: removed optional token (#282) 2018-01-17 17:59:42 +03:00
Natalia Pulina
9c28359a39
HG-319: Introduce user_interaction in SleepIntent (#276) 2018-01-10 13:16:19 +03:00
Andrew Mayorov
d0b94a3eb8
Signal cds keyring is locked w/ a woody unavailable error (#275) 2017-12-25 14:58:02 +03:00
Inal Arsanukaev
4e48813adb
WALK-42: Added exceptions in throws (#262)
* WALK-42: Added exceptions in throws

* Using typedef

* Remove unused exeptions from getClaim
2017-11-29 19:38:09 +03:00
Dmitry Manik
0abdda2e76
Epic: Subscriptions 2 (#250) 2017-11-22 13:21:20 +03:00
Evgeny Levenets
8271b2e389 DC-51: penetrate invoice cart into invoice template (#248) 2017-10-25 15:44:15 +03:00
Dmitry Manik
478235a1bd HG-231: Introduce subscriptions (#163) (#205) 2017-10-23 15:00:48 +03:00
Natalia Pulina
50a6930a2a HG-280: Introduce compute terms for invoice templating (#242) 2017-10-02 19:42:13 +04:00
Andrew Mayorov
23b50e4c46 HG-264: Allow proxies ask for a payment state with a callback tag (#221) (#238)
* HG-264: Bump to rbkmoney/image-build@317d286

* HG-264: Allow proxies ask for a payment state with callback tags

* HG-264: Supply suspend tag with session changes
2017-09-28 19:21:55 +03:00
Natalia Pulina
01ba0fd72f DC-52: add interface for getting computed payment terms (#225) (#233)
* add interface for getting computed payment terms
* use short names for ContractID & ShopID
2017-09-27 16:47:14 +04:00
Pavel Popov
52cb315963 Fix naming in payout proc proto (#228) 2017-09-22 18:46:40 +03:00
Evgeny Levenets
c49c94f171 CAPI-185: make card holder name optional to match swag (#227) 2017-09-22 13:11:44 +03:00
Andrew Mayorov
65cff9f2dc HG-58: List insufficient funds as why refund may fail (#226) 2017-09-21 10:18:01 +03:00
Pavel Popov
3954a8daa6 add legal agreement (#224) 2017-09-15 14:09:47 +03:00
Andrew Mayorov
2223cc606c Make status reasons optional in claims (#223) 2017-09-14 15:59:29 +03:00
Natalia Pulina
b95308d8c8 HG-267: sequences.thrift removed (#222) 2017-09-13 16:51:39 +04:00
Alexey Semenkov
49773b2cc3 HG-58: Allow to refund payment (#210)
* HG-227: Introduce basic payment refunds (#158)

* HG-229: Move moving state parts out (#193)

* MST-112: Add refund status in stat proto (#206)

* HOOK-34: Introduce refunds (#203)

* HG-229: Introduce refund terms (#200)

* HG-229: Make provision terms much more strict (#211)

* HG-262: Use yet unallocated tag for the redesigned holds terms (#219)
2017-09-12 12:36:42 +03:00
Pavel Popov
7ed79bd238 MST-115: Terminal payout tool (#218) 2017-09-06 19:00:36 +03:00
Alexey Semenkov
c4fcf1f96c add amount to payout (#217)
* add amount
2017-09-06 17:37:00 +03:00
Pavel Popov
427459a2aa MST-106: Payouts (#188)
* MST-106: Payouts

* Add proto to erlang release

* MST-106: Fix field sequence

* MST-106: Rename payout type fields

* MST-106: Payout proto improvements (#201)

* MST-106: Add bank card data

* PayoutType -> PayoutTool (#204)

* Align fields nameing between merch_stat and domain (#214)

* SHT-89: get payout info for PAPI (#215)

* SHT-89: get payout info for PAPI
* SHT-89: removed pay2card interface
2017-09-04 18:40:55 +03:00
Alexey Semenkov
44afec3edc HG-237: Introduce hold payments (#209)
* HG-233: Support of holds added (#159)

* HG-236: InvalidOperation ex added (#165)

* HG-236: InvalidPartyStatus, InvalidShopStatus -> CapturePayment, CancelPayment (#167)

* MST-111: holds in mst (#181)

* HG-255: Selector for holds (#207)
2017-08-29 18:51:12 +03:00
Evgeny Levenets
07c5f5c6f7 PIMP-6: fix damsel to prepare for PIMP removal (#208) 2017-08-25 16:50:32 +03:00
Pavel Popov
c23a0b1bac MST-113: Add invoice cart (#202)
* MST-113: Add invoice cart

* MST-113: switch to old field sequence
2017-08-21 15:47:44 +03:00
Evgeny Levenets
74a89b78d3 CAPI-176: fix payment terminal routing (#198) 2017-08-17 14:53:40 +03:00
Natalia Pulina
726d88c2dc HG-249: Introduce seq service (#196) 2017-08-16 18:36:25 +04:00
Alexey Semenkov
1519af6daa Terminal api (pimporter) BJ-177
add domain terminal service
add importer service
2017-08-11 12:01:10 +03:00
Evgeny Levenets
a282232e79 HG-232: add fatal risk score (#191) 2017-08-10 11:43:26 +03:00
Kirill Konanykhin
7aaee14722 SHT-73: Payout processing (pay to card) (#185)
* SHT-73: Payout processing (pay to card)
2017-08-09 16:48:55 +03:00
Andrew Mayorov
23363bdb87 Provide means for a proxy to keep session suspended (#190) 2017-08-09 16:08:39 +03:00
Pavel Popov
d0f6d1e435 BJ-204: Reporting imrovements (#189)
* BJ-204: signatures without maps

* BJ-204: Change arguments in getReport method

* BJ-204: now signature is required
2017-08-09 15:07:22 +03:00
Pavel Popov
15c19463eb Fix: revert payouts in mst (#187)
* Revert "MST-106: Fixes in payout proto (#183)"

This reverts commit b9f872f3b1.

* Revert "MST-106: Payouts (#180)"

This reverts commit 3dcaaa8a05.
2017-08-08 12:35:17 +03:00
Andrew Mayorov
7a3d0b3ff9 BJ-201: Require suspend timeout to be set explicitly (#186) 2017-08-04 11:47:17 +03:00
Evgeny Levenets
8c432f7f76 HG-246: add better support for 54FL (#184)
* add metadata to Party
* add interface for PartyMeta modification
* add cart with lines to invoice
2017-08-03 13:48:31 +03:00
Pavel Popov
b9f872f3b1 MST-106: Fixes in payout proto (#183) 2017-08-03 11:28:05 +03:00
Vladimir Pankrashkin
1a79ed66f6 BM-39: Add payout EventSink to BM (#182) 2017-08-01 16:57:59 +03:00
Pavel Popov
3dcaaa8a05 MST-106: Payouts (#180) 2017-08-01 16:06:29 +03:00
Kirill Konanykhin
8b7b62dccc SHT-72: payout processing event sink (#179) 2017-08-01 15:30:18 +03:00
Pavel Popov
a221d43890 BJ-204: Reporting protocol improvements (#178) 2017-08-01 15:11:09 +03:00
Anton Belyaev
2b2e351ed4 Introduce invoice templates (#166)
* Introduce invoice templates
* Fix Jenkinsfile
2017-07-26 13:32:38 +03:00
Evgeny Levenets
95b03f2a96 HG-244: added PartyID and InvoiceDetails for inspector proxy (#175) 2017-07-26 13:07:03 +03:00
Yevgeniy Poluektov
5f52d21317 add actor_id (#176)
https://rbkmoney.atlassian.net/browse/P2C-2
2017-07-26 12:29:19 +03:00
Yevgeniy Poluektov
c6fdb151ad add masked card number to TransferResult (#174) 2017-07-25 12:44:22 +03:00
Pavel Popov
eafc5b8ea5 BJ-193: Reports (#169)
* BJ-193: Reports

* BJ-193: Add GenerateReport method

* BJ-193: Add report_type

* BJ-193: Change generateReport method to regenerateMethod.

* BJ-193: Add docs and new methods

* BJ-193: expiration -> expired_at

* BJ-193: Remove regenerateReport method

* BJ-193: Review fixes

* BJ-193: Add getReportProcessingStatusById method

* BJ-193: Fixes

* BJ-193: Add created_at

* BJ-193: Remove todo items, remove ReportResponse struct

* BJ-193: add newline at end of file

* BJ-193: Another review fixes

* BJ-193: Add doc for errors

* BJ-193: Add report types

* BJ-193: Add report_type in report struct

* BJ-193: Review fixes

* BJ-193: Remove last semicolon

* BJ-193: Add filtering by report_type in getReports method

* BJ-193: Add InvalidRequest in GeneratePresignedUrl method

* BJ-193: expires_at -> expires_at
2017-07-24 18:26:27 +03:00
Pavel Popov
a82c7d7e4d MST-104: Add error classes (#172)
* MST-104: Add error classes
2017-07-20 16:16:28 +03:00
Alexey Semenkov
4a08335162 add claim to claim create response (#170) 2017-07-18 16:20:26 +03:00
Alexey Semenkov
b665c89c83 HG-192: Introduce multiclaims (#131)
* DC-23: changed PartyManagement interface to claims (#122)

* DC-23: changed PartyManagement interface to work with claims as primary editing method

DC-25: changed PartyChangeset to match with new interface (DC-23)
Moved ShopLocation to Shop level

* added ContractExpiered status and creation timestamp

* changed contracts & shops IDs types from Int to String

* extracted ShopUpdate fields to ShopModification level

* added InvalidChangeset exception

* Claim effects added (v0.1)

* Claim effects v1.0

* Claim effects v1.1

added created_at in all party objects

* Added ShopProxyChanged effect produced by ProxyModification changeset

* added ClaimUpdated event and ClaimRevision property

* added revision check to AcceptClaim

* added revision to deny/revoke methods for uniformity

* added ShopContractChanged to make one-to-one relations beetween change & effect

* Category is back to ShopParams as optional field

* AcceptClaim can throw InvalidChangeset exception

* Added AnonymousEntity to fulfill contract creation requirements

* Renamed AninymousEntity to RegisteredUser

* Added PayoutToolType to distinguish test and live payout tools

* Removed payout tool type due to redundancy

* Added PayoutToolPrototype to incapsulate test payout tool params

* Walker2 API (#125)

* Walker 2 api
new Methods for 
CRUD operations fro Claims, Comments and history(Actions)
WALK-20

* rename to wc_deploy

* add deploy_epic_nexus to list

* fix make cmd

* fixed suspension naming

* elastico interface

get end search party methods
Ft/walk 27/elastico (#133)

* Syncronize walker and payment processing thrifts

* WALK-27: Bump to rbkmoney/image-build@efd28e5 (#138)

* DC-27: added timestamp and revision to claim related events

* DC-27: added updated timestamp to claim

Added timestamp to blocking/suspension statuses (party & shop) for same reason.

* DC-27: removed unnecessary timestamp from accepted status (#143)

* Added missed InvalidContractStatus exception (#144)

* Removed timestamp from ContractTermination changeset

rebased to newest master

* jenkins pr crutch

* update walker 2 interface

* fix signature

* replace strings

* add update and create date

* Event batching v0.1 (obvious one) (#160)

* HG-227: Publish formerly internal events (#161)

* HG-227: Streamline event payload definitions

* HG-227: Publish formerly internal events

* HG-227: Introduce session-level result

* HG-227: Start classifying operation failures

* HG-227: Differentiate between domain and payproc invoicing models

* HG-227: Strip domain models further

* HG-227: Make risk score, route and cash flow required

* HG-227: Give shop location back to proxies (#164)
2017-07-17 13:21:41 +03:00
Yevgeniy Poluektov
b97a4ac43f signer zero api (#168)
https://rbkmoney.atlassian.net/browse/EDS-1
2017-07-14 16:38:07 +03:00
Yevgeniy Poluektov
74582f9eaf add pay2card interface (https://rbkmoney.atlassian.net/browse/SHT-64) 2017-07-06 19:37:03 +03:00
Natalia Pulina
cff31396e6 OperationConflict updated with Conflict (#156)
* DC-39: OperationConflict updated with Conflict

* DC-39: ObjectsNotExistConflict added to OperationConflict, HeadMismatchConflict represented as separate ex

* DC-39: ObsoleteCommitVersion instead of HeadMismatch
2017-06-28 18:22:03 +03:00
Natalia Pulina
c32914f952 CAPI-146: Remove proxy_merch_config.thrift (#150) 2017-06-21 11:44:13 +03:00
Evgeny Levenets
f0627b8750 HG-218: added specific exception to Checkout with bad timestamp (#154) 2017-06-16 18:38:35 +03:00
Evgeny Levenets
05017566dc HG-218: added Checkout(timestamp) interface in PartyManagement (#152) 2017-06-16 14:59:04 +03:00
Alexey Semenkov
206aa02809 add canceled status sht-65 2017-06-16 12:30:51 +03:00
Andrew Mayorov
874759043e HG-195: Introduce payment adjustments (#148)
* HG-195: Simplify create flow in payproc

* HG-195: Introduce payment adjustments

* HG-195: Disallow more than one pending adjustment

* HG-195: Add reason to the payment adjustment

* HG-195: Sprinkle over some comments

* HG-195: Include cash flow diff

* HG-196: Fix according to complaints
2017-06-15 19:24:35 +03:00
Yevgeniy Poluektov
cddae9f9fe remove abs (#149)
https://rbkmoney.atlassian.net/browse/SHT-53
2017-06-02 12:45:46 +03:00
Evgeny Levenets
cffd00b4ca DC-40: added name and description to ContractTemplate and TermSetHierarchy (#147) 2017-05-24 12:41:15 +03:00
Pavel Popov
e8c5cc5556 MST-87: own invoice and payment models (#146)
* MST-87: Switch domain invoice and payment models to own model

* MST-87: Copy and paste domain models

* MST-87: PaymentSession -> PaymentSessionID

* MST-87: More linear invoice, Context -> base.Content
2017-05-23 18:14:41 +04:00
Yevgeniy Poluektov
b77efa50d8 https://rbkmoney.atlassian.net/browse/SHT-25 (#145)
* https://rbkmoney.atlassian.net/browse/SHT-25
2017-05-05 16:53:55 +03:00
Inal Arsanukaev
4018c4162f fix webhooker.thrift (#142) 2017-04-19 18:36:45 +03:00
Inal Arsanukaev
e12385baf8 HOOK-12: Improve filter granulation (#141) 2017-04-17 16:21:21 +03:00
Inal Arsanukaev
a7ec53fa13 Changed webhookId type (#139)
* Changed webhookId type

* Fix type name
2017-04-12 17:28:12 +03:00
Yevgeniy Poluektov
c6acf675ba add enabled flag to webhook (#137)
* add enabled flag to webhook

* refactor
2017-04-11 15:07:49 +03:00
Yevgeniy Poluektov
f4dadb7e2e refactor (#136) 2017-04-10 18:46:28 +03:00
Petr Kozorezov
b0fde8d7cb MG-88: add a function for machine deleting (#134) 2017-04-10 14:29:00 +03:00
Petr Kozorezov
041b701c5f MG-85: add ability to set a history range and a timeout to a timer handler (#132) 2017-04-03 15:08:01 +03:00
Inal Arsanukaev
f4a87ead1e HOOK-1: webhooks interface (#129)
* HOOK-1: webhooks interface

* renamed file and some definitions

* Fixed after comments

* microfix

* microfix2

* microfix3

* added get method
2017-04-03 14:17:05 +03:00
Petr Kozorezov
792cfe469d MG-85: update state processing protocol for explicit timers unsetting (#130) 2017-03-31 16:06:06 +03:00
Petr Kozorezov
d0c4a0602c MG-66: replace binary type with msgpack.Value (opaque) in Automaton (#119) 2017-03-29 14:18:26 +03:00
Vladimir Pankrashkin
0cd0588bbd MST-55: fixed null pointer case for unknown geoid (#127)
* MST-55:  fixed null pointer case for unknown geoid

* MST-55:  review fixes
2017-03-17 18:38:34 +03:00
Evgeny Levenets
07b0898a7b DC-21: change 'category' param to optional at shop creation (#120) 2017-03-06 14:27:08 +03:00
Andrew Mayorov
9ec1a2ec70 HG-170: Expand exception interface in the invoicing service (#121) 2017-03-03 20:24:31 +03:00
Anatoly Cherkasov
fb2f17e1f7 PROX-51: payment renamed payment_info (#118) 2017-02-27 16:48:25 +03:00
Andrew Mayorov
27bc11c3d3 HG-154: Fix inspector selector to use list of decision (#116) 2017-02-03 16:16:37 +03:00
Alexey Semenkov
a603319d4b Обновил shitter api (#115)
* + update status
+ add some more fields for payments

* + rename new to created

* + rename ids

* + rename comment
2017-02-01 19:17:04 +03:00
Andrew Mayorov
4e4e214f52 HG-152: Allow to set up proxy while creating a shop (#114) 2017-02-01 16:22:27 +03:00
Andrew Mayorov
61701d2290 Stuff a couple of hacks in (#113)
* HG-153: Provider transport options for proxies

* HG-151: Provide selector as a means to choose an inspector

* HG-151: Provide the cost range condition

* HG-138: Introduce party related conditions

* Revert "HG-153: Provider transport options for proxies"

This reverts commit e0a541bc18efcef30cafd735a38584ee0df8e08e.

* HG-138: Provide const predicate to ease w/ construction catch-all decisions
2017-02-01 13:38:33 +03:00
Alexey Semenkov
bc7d54b356 Внешний интерфейс shitter-а (#108)
add shitter api for PAPI
2017-01-20 12:50:31 +03:00
Evgeny Levenets
7687bb8de3 DC-15: party management improvements and various fixes (#110) 2017-01-20 12:16:31 +03:00
Alexey Semenkov
f466defc0e Поля необходимые для выплат
+ payoutAccountID
+ abs_account
2017-01-19 16:32:22 +03:00
Andrew Mayorov
c05205983f HG-149: Stuff some party contact info in (#107) 2017-01-17 16:12:35 +03:00
Andrew Mayorov
91298f7e6d HG-131: Provide merchant proxy binding facility (#105)
* HG-131: Provide merchant proxy binding facility

* HG-131: Make a crutch for the capi to know what merchant proxy to use
2017-01-13 17:24:47 +03:00
Evgeny Levenets
7352d74536 HG-129: added user type for security checks in HG (#104) 2017-01-13 14:44:56 +03:00