Hi,
I'm using the GetHostedProfilePage web service method to retrieve a token. When I reference an account with an existing card, the token value is null. However, when I create a new profile and retrieve a token using the same code, I get a token back.
Below is my code:
token = GetHostedProfilePage(ProfileId);
public string GetHostedProfilePage(long profileId)
{
var validationMode = new SettingType
{
settingName = "hostedProfileValidationMode",
settingValue = isProd ? "liveMode" : "testMode"
};
var settings = new[] { validationMode};
var response = Service.GetHostedProfilePage(MerchantAuthentication, profileId, settings);
return response.token;
}
Solved! Go to Solution.
03-21-2014 10:16 AM - edited 03-21-2014 10:19 AM
Not the web traffic the response.token, the response should have more then just the token properties
03-21-2014 12:33 PM
can you read the response message? might be there an error?
03-21-2014 11:25 AM
03-21-2014 11:40 AM
Not the web traffic the response.token, the response should have more then just the token properties
03-21-2014 12:33 PM
03-21-2014 01:29 PM