Detailed field mapping for recurring donations and pledges between WeGive and DonorPerfect systems.
dppledge
(Pledge Records)ScheduledDonation
Pledge vs. Scheduled Donation
ScheduledDonation
: Recurring giving setupTransaction
records for each paymentdppledge
: Pledge commitment recorddpgift
: Individual payment records linked to pledgeData Flow Pattern
Pledge Identification
WeGive Field | DonorPerfect Field | Type | Notes |
---|---|---|---|
dp_id | @pledge_id | Integer | Auto-generated DonorPerfect pledge ID |
source.dp_id | @donor_id | Integer | Links to donor record |
N/A | @user_id | String | Always set to ‘WeGive’ |
Relationship Linking
WeGive Field | DonorPerfect Field | Calculation | Notes |
---|---|---|---|
amount + fees | @bill | (amount + fees) / 100 | Total pledge amount in dollars |
created_at | @gift_date | MM/DD/YYYY | Pledge creation date |
created_at | @start_date | MM/DD/YYYY | First payment date |
Standard Recurring Gift
Fee-Covered Recurring Gift
Frequency Mapping
WeGive Frequency | DonorPerfect Field | Value | Notes |
---|---|---|---|
Any frequency | @frequency | ’M’ | Hardcoded to Monthly |
Schedule Details
Standard Pledge Narrative
WeGive Field | DonorPerfect Field | Value | Notes |
---|---|---|---|
Generated | @gift_narrative | ”Online gift through WeGive” | Standard description |
Description Consistency
Payment-to-Pledge Linking
dpgift
record@pledge_payment = 'Y'
Payment Sequence
Pledge Status Tracking
Automatic Updates
Scheduled Donation Setup
Donor Validation
Pledge Record Creation
Payment Processing
Ongoing Sync
Amount Changes
Frequency Changes
Cancellation Handling
dp_savepledge Action
Optional Parameters
Pledge Lookup
Error Type | Cause | Resolution |
---|---|---|
Invalid Donor | Donor doesn’t exist in DonorPerfect | Auto-create donor, retry pledge |
Invalid Amount | Negative or zero pledge amount | Skip creation, log error |
Date Format | Invalid start/gift date format | Correct format, retry |
Duplicate Pledge | Pledge already exists for donor | Update existing pledge |
API Timeout | DonorPerfect API unavailable | Retry with backoff delay |
Failed Payment Handling
Sync Triggers
Sync Timing
Pledge Requirements
Payment Validation
Pledge Performance
Financial Reconciliation
Frequency Mapping
Schedule Modifications
Plan Pledge Structure
Monitor Payment Success
Handle Modifications Carefully
Maintain Data Quality
Pledges Not Creating
Payments Not Linking to Pledges
Incorrect Pledge Amounts