Recurring Donation Data Mapping

This document details how recurring donations and pledges are mapped between WeGive and DonorPerfect, including pledge creation, payment tracking, and schedule management.

DonorPerfect Table Reference

Primary Table: dppledge (Pledge Records)
WeGive Model: ScheduledDonation
Sync Direction: WeGive → DonorPerfect (Push Only)

Recurring Donation Overview

Integration Approach

Core Pledge Fields

Primary Identifiers

Financial Information

Amount and Payment Details

Amount Calculation: Includes processing fees in pledge amount, matching the total charged to donor.

WeGive FieldDonorPerfect FieldCalculationNotes
amount + fees@bill(amount + fees) / 100Total pledge amount in dollars
created_at@gift_dateMM/DD/YYYYPledge creation date
created_at@start_dateMM/DD/YYYYFirst payment date

Amount Calculation Examples

Schedule and Frequency

Gift Narrative and Description

Automatic Description Generation

Payment Processing Integration

Individual Payment Tracking

Status Management

Data Flow Process

Pledge Creation Workflow

1

Scheduled Donation Setup

Donor sets up recurring gift in WeGive

2

Donor Validation

Verify donor exists in DonorPerfect (create if needed)

3

Pledge Record Creation

Create pledge record in DonorPerfect dppledge table

4

Payment Processing

First payment creates linked dpgift record

5

Ongoing Sync

Subsequent payments automatically link to pledge

Schedule Modification Handling

API Operations

DonorPerfect Pledge Creation

Query Operations

Error Handling

Common Pledge Sync Issues

Pledge Dependencies: Pledges require valid donor records and fund GL codes before creation.

Error TypeCauseResolution
Invalid DonorDonor doesn’t exist in DonorPerfectAuto-create donor, retry pledge
Invalid AmountNegative or zero pledge amountSkip creation, log error
Date FormatInvalid start/gift date formatCorrect format, retry
Duplicate PledgePledge already exists for donorUpdate existing pledge
API TimeoutDonorPerfect API unavailableRetry with backoff delay

Payment Processing Errors

Sync Configuration

Recurring Donation Settings

Performance Considerations

Pledge Management

  • Efficient pledge creation and updates
  • Batch processing for multiple changes
  • Automatic status synchronization
  • Optimized query performance

Payment Integration

  • Real-time payment-to-pledge linking
  • Automatic gift record creation
  • Status updates for payment outcomes
  • Comprehensive error handling

Data Quality and Validation

Pre-Sync Validation

Monitoring and Reporting

Limitations and Considerations

Known Limitations

Important Limitations:

Best Practices

1

Plan Pledge Structure

Design recurring giving programs with DonorPerfect limitations in mind

2

Monitor Payment Success

Regularly review payment processing and pledge status

3

Handle Modifications Carefully

Test schedule changes to ensure proper sync behavior

4

Maintain Data Quality

Keep donor and fund information accurate and up-to-date

Troubleshooting

Common Recurring Donation Issues

For additional help with recurring donation mapping, contact our support team at [email protected].