Apply look-back reconciliation window to Chuffed campaigns #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Chuffed's transaction acknowledgment is flawed, and it often displays donations on a campaign page even before a confirmation from the circuit.
When the transaction fails, it often takes a few minutes for Chuffed to remove the record from their database.
If the glitch happens while the scraper is running, then those transactions will counted.
Once removed, the next iteration will process records from the latest cursor, so it'll miss that some of the previous records have been removed.
The issue is definitely on the callback implementation on Chuffed, but it's starting to become common enough that it needs to be tackled.
For Chuffed each round of scraping should also perform an additional call that looks backwards from the latest cursor with a reasonable window (10-20 transactions), and reconcile any transactions that have been removed by also removing them from the local db.