found at https://developer.authorize.net/api/reference/features/accept_hosted.html that i need hostedpaymentiframecommunicatorurl i made the page from the sample listed than added the following: I this correct code or am i missing something i need to get this to work to get the site working. or if anyone has code that works that i can see in ap.net
settingType[] settings = new settingType[6];
settings[0] = new settingType();
settings[0].settingName = settingNameEnum.hostedPaymentButtonOptions.ToString();
settings[0].settingValue = "{\"text\": \"Pay\"}";
settings[1] = new settingType();
settings[1].settingName = settingNameEnum.hostedPaymentBillingAddressOptions.ToString();
settings[1].settingValue = "{\"show\": true, \"required\":true}";
settings[2] = new settingType();
settings[2].settingName = settingNameEnum.hostedPaymentShippingAddressOptions.ToString();
settings[2].settingValue = "{\"show\": true, \"required\":false}";
settings[3] = new settingType();
settings[3].settingName = settingNameEnum.hostedPaymentCustomerOptions.ToString();
settings[3].settingValue = "{\"showEmail\": true, \"requiredEmail\":false}";
settings[4] = new settingType();
settings[4].settingName = settingNameEnum.hostedPaymentIFrameCommunicatorUrl.ToString();
settings[4].settingValue = "{\"url\":\"http://www.marshallville-meats.com/IframeCommunicator.html\"}";
settings[5] = new settingType();
settings[5].settingName = settingNameEnum.hostedPaymentReturnOptions.ToString();
settings[5].settingValue = "{\"showReceipt\" : true, \"url\":\"https://www.marshallville-meats.com/CheckOutFinal.aspx\", \"urlText\": \"Continue\", \"cancelUrl\": \"https://YOUR_SITE.com/cancel\", \"cancelUrlText\": \"Cancel\"}";
09-18-2017 01:25 PM
Hi @rrr944276,
The one suggestion I'd make is to make sure you have a valid cancelUrl pointing to your site.
09-20-2017 11:36 AM