brave-intl / bat-go

Pass "go", collect 200 BAT
Mozilla Public License 2.0
42 stars 31 forks source link

Record the reason why a payment fails to transact #424

Open corymcdonald opened 4 years ago

corymcdonald commented 4 years ago

When we're planning on rewriting the settlement tools to track who gets paid out we should ensure that we know who specifically did not get paid and why.

maikelmclauflin commented 4 years ago

capture request id, message, provider id, amount

nvonpentz commented 4 years ago

This might be a good opportunity to create a more fully-fledged settlement service that uses a database to keep track of the payments and their status.

We could potentially use the Antifraud / BSG Redshift as the database since we already have the payout.payments table (which the payout report JSON file is derived from), and we could attach the status to those records, eliminating the trip to S3.