Skip to main content

Online Fundraising: Error and Cancel Reasons

Understand how Online Fundraising error and cancellation codes map into Donorfy.

Cristina Gruita avatar
Written by Cristina Gruita
Updated this week

Donorfy displays error and cancellation reasons based on the codes provided by OnlineFundraising. These mappings help you understand why payments, payment methods, or subscriptions have failed or been cancelled, and ensure accurate reporting and troubleshooting.


Error Reasons

These reasons appear in Donorfy when OnlineFundraising supplies an ErrorCode for either a Payment Method or Subscription.

Donorfy Reason

Payment Method GatewayErrorCode

Subscription ErrorCode / Payment Method ErrorCode

Wrong Reg, Account

230940

Invalid CPR

230945

Expired card

100002 / 200004

Failed card

100002 / 200005


Cancel Reasons

These reasons appear when an OnlineFundraising Subscription or Payment Method has been cancelled.

Donorfy Reason

Subscription CancelCode

Subscription ErrorCode / Payment Method ErrorCode

Subscription expired due to defined expiration date

100103

Mandate cancelled by debitor

100101 / 200101

Mandate cancelled by creditor

100101 / 200102


Other Reasons (Fallback Logic)

If OnlineFundraising sends codes that do not match any of the defined mappings above, Donorfy applies the following fallback rules:

  1. If GatewayErrorDescription on the Payment Method contains a value, Donorfy uses that as the reason.

  2. If not, and CancelDescription on the Payment Method contains a value, that is used.

  3. If neither description is provided, Donorfy applies the general reason: “By Request”.


More detailed descriptions of error and cancel codes are available in the details about these descriptions can be found in the OnlineFundraising Wiki:(https://fundraisingbureauet.atlassian.net/wiki/spaces/OFpublic/pages/375095320/Error+and+Cancel+Codes

⚠️Important:
The Online Fundraising integration is a Professional only feature. Danish Essential subscribers, please contact us to find out more about upgrading.

Other requirements: the integration only applies to Online Fundraising version 4 and later. Prior versions cannot be integrated.

Did this answer your question?