Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-braintree-native: fix missing
disputes
documents
We've received reports of missing `disputes` documents. The provided missing `disputes` both had a `received_date` that was one day before their `created_at`, meaning we can't assume that `received_date` is a close approximation of `created_at` when searching Braintree. Unfortunately, since Braintree doesn't expose `created_at` for searching disputes, we're stuck using `received_date`. To avoid missing these type of results, `disputes` now searches at least a two day wide date window for new results. Assuming `received_date` and `created_at` are never more than one day apart, this should ensure the connector doesn't miss data for this reason again.
- Loading branch information