subscriberAddWithCustomFields()

Hello,

I was trying to use subscriberAddWithCustomFields(), but I wasn't able to make it work ...

In fact, this work, and returns a success code (0).


But when I try to list my subscribers, CustomFields key is empty ...

For example, a bit of code:
[code]<?php

$api_key = 'my_api_key';
$client_id = 'my_client_id';
$list_id = 'my_list_id';

$cm = new CampaignMonitor($api_key,$client_id,null,$list_id);
$cm->method = 'soap';

$mail = 'hello@none.org';
$informations = array('Sport' => 'Football', 'Age' => '32');

$result0 = $cm->subscriberAddWithCustomFields($mail, '', $informations);

$result1 = $cm->subscribersGetActive();

print_r($result0);
print_r($result1);

?>[/code]
Returns:
[code]Array
(
    [code] => 0
    [Message] => Success
)

Array
(
    [Subscriber] => Array
        (

            [0] => Array
                (
                    [EmailAddress] => hello@none.org
                    [Name] =>
                    [Date] => 2008-06-27 10:35:00
                    [State] => Active
                    [CustomFields] =>
                )

        )

)[/code]
Any idea ?

Thanks,

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free
1-888-533-8098