Yaroslav Vorobiov
9c77c762cb
satellite/payments/storjscan: change USD currency to USDollarsMicro
...
Changes all usd amounts to use monetary.USDollarsMicro to have better prescision.
Change-Id: I391e2680f7fa11a0493e5af77488acff6dbf4999
2022-08-19 16:05:17 +00:00
dlamarmorgan
f596f72f44
satellite/payments/storjscan: add billing update to chore
...
Update chore to add confirmed transactions to the billing table.
Change-Id: I3c9a98c2ddc96f8a8905250376a1f5490d810277
2022-08-16 11:18:15 -07:00
Yaroslav Vorobiov
eca1689f17
satellite/console: add wallet payments API
...
Extends satelling console billing API with method to
retrieve payments for a particular wallet.
Change-Id: I2e82793c715db9353427e0a287baac57bf6a0f43
2022-08-09 14:53:54 +02:00
Yaroslav Vorobiov
a6ad86dc53
testsuite/storjscan: add client claim wallet test
...
Adds integration test for storjscan client claim eth wallet method.
Change-Id: I69d1e4f9417c1225e97d5e5c6f0f394eaf68fbef
2022-08-05 17:26:14 +00:00
dlamarmorgan
92be1d878f
satellite/payments/stripecoinpayments: storjscan invoice generation
...
Add line item with unclaimed Storjscan wallet balance during invoice generation.
Change-Id: I018bfa01abfcf7bfdffba0c5a1350a69188f63d5
2022-08-03 13:24:26 -07:00
Yaroslav Vorobiov
2ba06aca87
satellitedb: storjscandb return payment with UTC time
...
Return UTC cached payment timestamp on converting from dbx
payment.
Change-Id: I693802d5ac3b786f9973e8299a95215a2e975982
2022-07-27 20:05:37 +00:00
Yaroslav Vorobiov
7194973b56
satellite/payments/storjscan: add usd value to cached payments
...
Add USD value to storjscan cached payment struct to store and
retrieve payments from payments DB.
Change-Id: Ic0b2b4a198e4ea8230bc9a01865b429343f52767
2022-07-27 14:55:45 +00:00
Yaroslav Vorobiov
de5951331a
satellite: wire storjscan chore to core process
...
Adds storjscan chore and storjscan client to satellite chore.
Storjscan chore interval added to storjscan config.
Change-Id: I13bb8d83b14ca90f4735c9a10c361ad24a56b256
2022-07-14 15:07:52 +00:00
Yaroslav Vorobiov
6d95e34e39
satellite/payments: add payments method for deposit wallets
...
Add payments method to payments to DepositWallets interface.
Exposes payments retrieval API for a particular wallet to
other systems such as console billing API.
Change-Id: Ifcb3a35514aab50be00f6360007954980b5d8b38
2022-07-12 11:25:30 +00:00
Yaroslav Vorobiov
91ea659298
satellite/payments/storjscan: payment API type add USD value
...
Change-Id: I6e06a5557df795b4f91dd52b191384d7e6b4b07c
2022-06-24 22:30:30 +00:00
Yaroslav Vorobiov
13be4ad0dd
satellite/payments/storjscan: add chore to periodically ask for new payments
...
Change-Id: Ia6ad182184596fe1fe1f9a40f909a3af4be8feef
2022-06-16 09:38:37 +01:00
Yaroslav Vorobiov
da97fafb0c
satellite/payments/storjscan: add payments DB
...
Change-Id: Ia6f0f62912c9a60d2c513459959634179eb9506c
2022-06-10 13:44:27 +01:00
Yaroslav Vorobiov
62774768d9
satellite/payments/storjscan: update config and wrap service errors
...
Change-Id: I4f75375e9499119cbcce78c5e77d1950e4bae38b
2022-06-07 14:21:42 +00:00
dlamarmorgan
270204f352
satellite/{payments/storjscan,satellitedb}: Add wallet implementation
...
Add storjscan wallets implementation to the satellite. The wallets interface allows you to add and claim new wallets as called by the API. The storjscan specific implementation of this interface uses a wallets DB to associate the user to a wallet address, as well as a storjscan client to request and associate new wallets to the satellite.
Change-Id: I54081edb5545d4e3ee07cf1cce3d3e87cc00c4a1
2022-06-03 11:45:47 +00:00
Márton Elek
5e8266d1de
satellite/{payments/storjscan,satellitedb}: Add storjscan wallet DB
...
Add storjscan wallets DB to the satellite. For now this DB is a one to one mapping of the users account to a storjscan wallet that can be used by the account holder to make payments on their Storj account.
relates to https://github.com/storj/storj/issues/4347
Change-Id: I6e65b15817b90ceb75641244f9bf173c3b4228a7
2022-05-24 08:42:02 +00:00
Yaroslav Vorobiov
0bf12523e1
satellite/payments/storjscan: add client and list all payments API call
...
Change-Id: I1f5065b3d15cc93f4b42868941e82e04af364565
2022-05-20 15:10:17 +00:00