Home Forums Event Espresso Premium Integrating with Donor Perfect for Payment Processing

Integrating with Donor Perfect for Payment Processing

Posted: February 5, 2018 at 11:30 am

February 5, 2018 at 11:30 am

I am having trouble integrating Event Espresso with Donor Perfect for payment processing.

When trying to process a transaction, I am receiving an error with Reason Code 122.

Please help.


  • Support Staff

February 5, 2018 at 11:46 am

Hi Caroline,

We received your request for priority support and I’ve reviewed the information that was sent. May I ask for some clarification? By what means was the URL changed to

February 5, 2018 at 11:54 am

Hmmm … I do not see this URL entered in the plug-in settings, so I do not know. Our developer was working on this so I’ll need to check with him.

If that is NOT the correct thing to do (directing to that URL above), can you advise how we can get this connected and working please?


  • Support Staff

February 5, 2018 at 12:19 pm

I’m not actually familiar with the correct URL to use for Donor Perfect payment processing. Donor Perfect should be able to verify the correct URL. It may help to reach out to Donor Perfect and ask them to confirm the correct URL, the correct value for the API Login ID, and the correct value for the Transaction Key.

February 5, 2018 at 1:49 pm

Here’s the support URL Donor Perfect provided to us for integration with 3rd Party plug-ins:

I’ve input the fields below:
API ID or Login ID is your gateway username.
Transaction Key is your gateway password.

and am still getting an error when attempting to process a payment.

Please advise.


  • Support Staff

February 5, 2018 at 2:00 pm

Advisories follow:

1) You’ll need to ask your developer to remove the following code from the end of the theme’s functions.php:

//* Please do NOT include the opening php tag, except of course if you're starting with a blank file
add_filter( 'FHEE__EEG_Aim___get_server_url', 'ee_nmi_gateway_emulator', 11 );
function ee_nmi_gateway_emulator( $url ) {
  $url = '';
// $url = '';
  return $url;

This is because 1) loading the code from a theme file may be too late, and 2) the URL in that code does match with the documentation that Donor Perfect sent.

Then 2)

They’ll need to create a plugin by following this guide:

3) They’ll add the following PHP code to the plugin, then activate:

function ee_safesave_gateway_emulator( $url ) {
  $url = '';
  return $url;

February 5, 2018 at 2:03 pm

Ok, he’s gone for the day today, will let you know tomorrow if we run into difficulty.

The support post ‘Integrating with Donor Perfect for Payment Processing’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by 1 year ago ago

Topic Tags


This topic is:
Do NOT follow this link or you will be banned from the site!