How to make WordPress integration work with GetResponse Enterprise?

Integration description:

http://connect.getresponse.com/integration/wordpress-integration-2

Integration download:

https://wordpress.org/plugins/getresponse-integration/

In order to make below integration work with GetResponse Enterprise you need to first download it to your hard drive, unzip it and edit one of files which is located in lib/GrApi.class.php

You can use any standard text editor like windows notepad to do it.

1) In line 11 you need to change the domain in $api_url to be:

https://api3.getresponse360.com/v3

2) You need to change the code in line 232 and put your sending domain URL in it.GrApi.class.php 1

So after you download the integration the code looks like this:

CURLOPT_HTTPHEADER => array(‘X-Auth-Token: api-key ‘ . $this->api_key,’Content-Type: application/json’, ‘User-Agent: PHP GetResponse client 0 . 0 . 1’)

After the change it needs to look like this:

CURLOPT_HTTPHEADER => array(‘X-Auth-Token: api-key ‘ . $this->api_key, ‘X-Domain: yoursendingdomain.com’,’Content-Type: application/json’, ‘User-Agent: PHP GetResponse client 0 . 0 . 1’)

GrApi.class.php 2

IMPORTANT!

Keep in mind to change the yoursendingdomain.com to the sending domain you use with GetResponse Enterprise.