storj/satellite/payments/accountfreeze
Wilfred Asomani 4a49bc4b65 satellite/payments: fix account freeze chore race condition
This change fixes an issue where a formerly warned/frozen user will be
warned again even though they have made payment for the invoice that got
them frozen in the first place. A payment status check is now made
right before a warn/freeze event to make sure the invoice hasn't been
paid already.

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

Change-Id: I3f6ac1e224f40107d58dc8f7bdbce58bbbea0196
2023-06-14 10:10:56 +00:00
..
chore_test.go satellite/payments/stripe/service.go: fix payment for multiple invoices 2023-05-08 21:17:14 +00:00
chore.go satellite/payments: fix account freeze chore race condition 2023-06-14 10:10:56 +00:00