Posts: 3
Registered: ‎05-28-2020

Re: Accept Customer Hosted Page - how to determine result?

I am using the Host to Add a New credit card, and I could not find how to change the URL if the end user clicks on CANCEL, if the end user clicks on Cancel, I want a different page url, and if they

succesfully completed, then, a to go the link below, I can add a parameter to it.  


1- Can we change the text to Cancel?

2- Can we change the URL if the user clicks on CANCEL?


I know it's available on the "hostedPayment", but, I am using "getHostedProfilePageRequest" and need to add these requirements to the "getHostedProfilePageRequest".   Be aware that the example provided on GitHub, shows it as a PopUp, but I need it as an IFrame, the issue I am encountering, the only values that are being returned are the width, and height, but I need to know if A) the end user clicked on Cancel, or B, if they went all the way through and completed it.  I am aware that the last button also does not have an Id, which was an option for me to listen to it being clicked.



Are we limited with what we can do?  is it even possible?  for the getHostedProfilePageRequest, and it cannot be the  "hostedPayment...", i know it's possible through "hostedPayment...", but it doesn't appear to be in "hostedProfile..." options available.  


See example below:


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/Customer/";

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


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

var controller = new getHostedProfilePageController(request);


var response = controller.GetApiResponse();

Posts: 2
Registered: ‎01-03-2021

Re: Accept Customer Hosted Page - how to determine result?

You can get its detailed answer on NectgenApk. Which would complete guide you. I think it is a best platform

Posts: 2
Registered: ‎01-03-2021

Re: Accept Customer Hosted Page - how to determine result?

Host page to accept code details from suscriber and creat new account and you can also contail information it on MOD APK.