Hi,
I am trying to inegrate Authorize.net CIM in to our application ,i have created empty customer profile and trying to create an iframe popup, for that downloaded hostedProfilePaymentsShipping sample code in that we have to set the Token by calling GetHostedProfilePage , but i could't find any class or method to execute this call.
Please advice
Thanks,
Rv Rao
01-18-2012 11:16 PM
It's probably not in the SDK:
You can of course get it by passing XML directly and then parsing the response:
<?xml version="1.0" encoding="utf-8"?> <getHostedProfilePageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>YourUserLogin</name> <transactionKey>YourTranKey</transactionKey> </merchantAuthentication> <customerProfileId>YourProfileID</customerProfileId> <hostedProfileSettings> <setting> <settingName>hostedProfileReturnUrl</settingName> <settingValue>https://blah.com/blah/</settingValue> </setting> <setting> <settingName>hostedProfileReturnUrlText</settingName> <settingValue>Continue to blah.</settingValue> </setting> <setting> <settingName>hostedProfilePageBorderVisible</settingName> <settingValue>true</settingValue> </setting> </hostedProfileSettings> </getHostedProfilePageRequest>
01-19-2012 02:36 AM
Thanks for the response.
Can you please let me know how to send this xml request to authorize.net from java and get the response.
Thanks
Rv Rao
01-19-2012 03:49 AM
I don't program in Java, so I can't give you specific code. But you can probably just Google for it and find out how fairly quickly.
01-19-2012 04:13 AM - edited 01-19-2012 04:13 AM