cancel
Showing results for 
Search instead for 
Did you mean: 

getHostedProfilePageRequest

I am trying to include a URL for the cancel button but cannot.  Attached is how I am using the hostedProfile.  Please note it is not the same as the "hostedPayment".

 

Is this something that can be done?  I am only receiving the height and width and no actions through the iFrame. I been pulling my hair all day.

 

settingType[] settings = new settingType[5];

settings[0] = new settingType();
settings[0].settingName = settingNameEnum.hostedProfileSaveButtonText.ToString();
settings[0].settingValue = "Add Me";


settings[2] = new settingType();
settings[2].settingName = settingNameEnum.hostedProfileReturnUrlText.ToString();
settings[2].settingValue = "Done";

 

settings[3] = new settingType();
settings[3].settingName = settingNameEnum.hostedProfileReturnUrl.ToString();
settings[3].settingValue = "https://localhost:53967/examplePage.html";

 

settings[4] = new settingType();
settings[4].settingName = settingNameEnum.hostedProfileIFrameCommunicatorUrl.ToString();
settings[4].settingValue = "https://localhost:53967/contentx/IframeCommunicator.html";

 

var request = new getHostedProfilePageRequest();
request.customerProfileId = customerProfileId;
request.hostedProfileSettings = settings;

var controller = new getHostedProfilePageController(request);

controller.Execute();

var response = controller.GetApiResponse();

aestrada101
Member
0 REPLIES 0