- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cancel button not working in hosted form CIM
Cancel button has a function btnCancelEdit_onclick(g_paymentItemEditInfo, 999) which is generated during runtime. If i call the AuthorizeNetPopup.openAddPaymentPopup() pop up the cancel button does not work but if i call the AuthorizeNetPopup.openManagePopup() function the cancel button works. I know it is not possible to change the function of the cancel button at runtime, is there any other option. I have seen this link and have made the necessary changes which work fine if i call AuthorizeNetPopup.openManagePopup() first and then open AddPaymentPopup popup, but does not work when i call AuthorizeNetPopup.openAddPaymentPopup() directly.
โ12-24-2013 01:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are the Add Payment and the Manage buttons on the same page?
Are you following the example code in hostedProfileManage.zip for the page with the Add Payment button, or is it on a different page and using the hostedProfilePaymentsShipping.zip example code?
I had a problem with going the other way. I was using the hostedProfilePaymentsShipping.zip example code and couldn't figure out why the Manage button didn't work correctly.
If you or anyone else figures out how to mix the two together to work from the same page, I would like to know.
โ01-06-2014 11:04 AM