storj/satellite
Vitalii b31e417546 satellite/payments: use stripe idempotency on create/update invoice items
Add idempotency key for every create/update invoice item request.
Key consists of public project ID, line item description and formatted invoicing period.
This should eliminate the possibility of making duplicate create/update actions.
Also, with this change, we mark a project record as consumed only after the appropriate invoice items are created or the record itself is skipped.

Issue:
https://github.com/storj/storj/issues/6501

Change-Id: I7506a8f3886d7f575bcc0facc3f107513352a312
2023-12-05 11:16:53 +02:00
..
abtesting console/abTesting: add support for AB testing 2022-10-27 10:57:12 +00:00
accounting satellite/{db,console,billing}: fix legal/violation freeze 2023-12-04 21:19:44 +00:00
admin satellite/{db,console,billing}: fix legal/violation freeze 2023-12-04 21:19:44 +00:00
analytics satellite/analytics: improve error logging 2023-11-29 09:49:25 +00:00
attribution satellite/{db, admin}: added endpoints to update user's and project's user_agent 2023-06-16 19:41:05 +00:00
audit all: don't depend on infectious library directly 2023-10-31 16:00:47 +02:00
buckets satellite/{buckets,satellitedb}: add versioning to buckets.DB 2023-10-24 11:16:31 -07:00
compensation payments: don't redefine compensation rates twice 2023-06-10 12:40:43 +00:00
console satellite/{db,console,billing}: fix legal/violation freeze 2023-12-04 21:19:44 +00:00
contact satellite/contact: send evenkit entry only with existing fields 2023-10-25 16:16:20 +00:00
durability satellite/durability: report bus_factor with the new reports 2023-12-04 14:06:20 +00:00
gc satellite/gc/bloomfilter: reduce number of filters in single zip 2023-12-04 16:09:24 +00:00
geoip satellite/geoip: exclude nodes with represented_contry from geofencing 2023-08-14 12:36:33 +00:00
gracefulexit satellite/gracefulexit: add test for GE through upgrade 2023-11-09 08:58:16 +00:00
internalpb satellite/metainfo: drop pending objects table support 2023-11-15 10:55:08 +01:00
mailservice satellite/consoleweb: fix flaky TestAuth tests 2022-08-04 19:06:07 +00:00
metabase satellite/metainfo: reduce database hits for segment creation 2023-12-01 20:28:48 +00:00
metainfo satellite/metainfo: reduce database hits for segment creation 2023-12-01 20:28:48 +00:00
metrics satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeevents satellite/satellitedb/dbx: document node tables 2023-02-24 14:05:55 +00:00
nodeselection satellite/nodeselection: support OR in placement definition 2023-10-19 15:21:15 +00:00
nodestats payments: don't redefine compensation rates twice 2023-06-10 12:40:43 +00:00
oidc satellite/console: prefix oidc paths with /api/v0/ 2023-09-11 18:12:39 +00:00
orders satellite/repair: unify repair logic 2023-09-25 09:42:08 -05:00
overlay satellite/bloomfilter: don't create BF for disqualified nodes 2023-11-22 07:07:51 +00:00
payments satellite/payments: use stripe idempotency on create/update invoice items 2023-12-05 11:16:53 +02:00
repair satellite/repair: run chore which updates repair_queue stat 2023-12-05 04:33:46 +00:00
reputation satellite/audit: remove pieces when audits fail 2023-06-22 14:19:00 +00:00
revocation satellite/satellitedb: move tests to their domains 2021-02-19 17:29:15 +02:00
satellitedb satellite/{db,console,billing}: fix legal/violation freeze 2023-12-04 21:19:44 +00:00
snopayouts all: fix error naming 2021-04-29 15:38:21 +03:00
admin.go go.mod: make bump-dependencies (uplink, common, ...) 2023-11-29 16:55:41 +00:00
api_test.go satellite/api: configuration option to set additional node tag authorities 2023-08-03 08:34:02 +00:00
api.go go.mod: make bump-dependencies (uplink, common, ...) 2023-11-29 16:55:41 +00:00
auditor.go go.mod: make bump-dependencies (uplink, common, ...) 2023-11-29 16:55:41 +00:00
configlock_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
core.go satellite/repair: run chore which updates repair_queue stat 2023-12-05 04:33:46 +00:00
gc-bf_test.go satellite/gcbf: fix data race in TestGCBFUseRangedLoop 2023-11-01 19:07:20 +02:00
gc-bf.go go.mod: make bump-dependencies (uplink, common, ...) 2023-11-29 16:55:41 +00:00
gc.go go.mod: make bump-dependencies (uplink, common, ...) 2023-11-29 16:55:41 +00:00
peer.go satellite/repair: run chore which updates repair_queue stat 2023-12-05 04:33:46 +00:00
rangedloop.go go.mod: make bump-dependencies (uplink, common, ...) 2023-11-29 16:55:41 +00:00
repairer.go satellite/repair: run chore which updates repair_queue stat 2023-12-05 04:33:46 +00:00
ui.go go.mod: make bump-dependencies (uplink, common, ...) 2023-11-29 16:55:41 +00:00