I have implemented hosted CIM a few times in the past and there have always been Save and Cancel buttons at the bottom of the Add a New Payment Method form. But this time, no buttons. No way to save or continue.
Here is the xml I am sending:
<?xml version="1.0" encoding="utf-8"?><getHostedProfilePageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication><name>******</name><transactionKey>******</transactionKey></merchantAuthentication><customerProfileId>10****91</customerProfileId> <hostedProfileSettings> <setting> <settingName>hostedProfileReturnUrl</settingName> <settingValue>http://localhost/ProgrammingProjects/Sapphire/web/cw4/cwapp/mod/ThankYou.html?ProfileID=10***91</settingValue> </setting> <setting> <settingName>hostedProfileReturnUrlText</settingName> <settingValue>Continue...</settingValue> </setting> <setting> <settingName>hostedProfilePageBorderVisible</settingName> <settingValue>true</settingValue> </setting> </hostedProfileSettings> </getHostedProfilePageRequest>
Why am I not seeing the Save or Cancel buttons? What am I doing wrong?
Solved! Go to Solution.
11-13-2012 06:35 AM - last edited on 10-12-2013 03:36 PM by RichardH
I learned from contacting integration@authorize.net that for some reason the iframe was too short and the buttons were being hidden. This seems like a bug in authnet, because I'm just using the module plain vanilla as documented. I'm surprised a lot more people aren't running into this. Anyway, I had to dynamically increase the height of the iframe during body onload, and that gave me the height I needed to see the buttons.
11-15-2012 06:38 AM
I learned from contacting integration@authorize.net that for some reason the iframe was too short and the buttons were being hidden. This seems like a bug in authnet, because I'm just using the module plain vanilla as documented. I'm surprised a lot more people aren't running into this. Anyway, I had to dynamically increase the height of the iframe during body onload, and that gave me the height I needed to see the buttons.
11-15-2012 06:38 AM
Ran into the same issue. I agree it is amazing there aren't more reports. Are we the only ones using hosted CIM?...
Another workaround is enable scrolling on the popup. Not ideal though since you should be able to see the button without scrolling and some might not realize they can scroll
10-12-2013 12:40 PM - edited 10-12-2013 12:43 PM
For anyone else that has this problem, I ended up changeing:
<iframe name="iframeAuthorizeNet" id="iframeAuthorizeNet" src="contentx/empty.html" frameborder="0" scrolling="no"></iframe>
to
<iframe name="iframeAuthorizeNet" id="iframeAuthorizeNet" src="contentx/empty.html" frameborder="0" scrolling="yes"></iframe>
and manually changing heights in popup.js
10-12-2013 03:01 PM