Support » Plugin: Gravity Forms Constant Contact » Problem and solution with plus sign in email

  • Resolved michaelw_dc

    (@michaelw_dc)


    I found an issue where the email address, if it contains a plus sign (ex: testuser+hello@domain.com), fails to process correctly through the plugin (it fails to recognize that a contact already exists for that email address).

    Easy fix for this: In cc_class.php, function subscriberExists, I urlencode $email.

    I replace this line:

    $call = $this->apiPath.'/contacts?email='.$email;

    with

    $call = $this->apiPath.'/contacts?email='.urlencode($email);

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem and solution with plus sign in email’ is closed to new replies.