**Description:** Match incoming Horizon payments to the correct StellarAid campaign. **Tasks:** - [ ] Create `worker/src/tasks/payment_matcher.rs` - [ ] For each payment, look up the `destination` address in the campaign DB - [ ] Return the matching `campaign_id` or `None` if no match - [ ] Handle the case where a payment destination belongs to a completed or suspended campaign - [ ] Log unmatched payments for debugging **Acceptance Criteria:** Payments are correctly matched to campaigns; unmatched and invalid state payments are logged and skipped. ---
Description:
Match incoming Horizon payments to the correct StellarAid campaign.
Tasks:
worker/src/tasks/payment_matcher.rsdestinationaddress in the campaign DBcampaign_idorNoneif no matchAcceptance Criteria:
Payments are correctly matched to campaigns; unmatched and invalid state payments are logged and skipped.