Referral rewards gated by a 16-day check that read changing data, now fixed
GoodBarber's referral program pays a sponsor 16 days after the referee's payment, with a daily cron that verifies several conditions before rewarding. Before launch on October 23, a review uncovered three bugs stemming from one cause: the 16-day check read the database as it stood later, after rows had changed. The delay was measured from invoice dates rather than settlement dates, and a payment check used the current direct-debit mandate, which bank-detail updates overwrite. A third issue let a voucher be lost when a customer changed plans before paying a renewal order. The team now counts from settlement, reads payment history alongside current mandates, and runs a daily repair pass for orphaned vouchers.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in