I'm attempting to use the getHostedProfilePageRequest, and for the hostedProfileReturnUrl, I wish to pass a URL which has a couple querystring variables.
I'm finding that if I pass a single querystring variable, all is well. But as soon as I pass more than one, I get this error:
The operation failed with the following errors:
[E00003] '=' is an unexpected token. The expected token is ';'. Line 8, position 114.
Here's my request:
<?xml version="1.0" encoding="utf-8"?> <getHostedProfilePageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication><name>********</name><transactionKey>***********</transactionKey></merchantAuthentication> <customerProfileId>8777777</customerProfileId> <hostedProfileSettings> <setting> <settingName>hostedProfileReturnUrl</settingName> <settingValue>http://domain.com/dev/index.php?edit=1&id=45</settingValue> </setting> <setting> <settingName>hostedProfileReturnUrlText</settingName> <settingValue>Finished Editing</settingValue> </setting> <setting> <settingName>hostedProfilePageBorderVisible</settingName> <settingValue>true</settingValue> </setting> </hostedProfileSettings> </getHostedProfilePageRequest>
I'm assuming this is some kind of bug? Or is it really only possible to use a single querystring variable?
Solved! Go to Solution.
โ09-10-2012 03:43 PM
Since it XML is required xml(html) encoding so & need to be &
โ09-10-2012 04:08 PM - edited โ09-10-2012 04:08 PM
Since it XML is required xml(html) encoding so & need to be &
โ09-10-2012 04:08 PM - edited โ09-10-2012 04:08 PM
Oh wow. I feel dumb now. haha.
Thanks for your help!
โ09-10-2012 04:09 PM