<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SIM page style lost after bad submission in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34860#M19279</link>
    <description>&lt;P&gt;I hope this isn't a duplicate, but I can't seem to find any information pertaining to my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on a website using the SIM API. I redirect my users to the secure payment page. I've styled the page to look just like our site style, so that worked out really well. After submitted credit card data, I receive the post back to my relay page just fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I'm getting occurs if the user makes a mistake on the secure payment page. Like say, submitting before entering their credit card number. If this happens, the secure payment page will reload, displaying the errors to the user. However, all of my style will not be applied anymore. The secure payment page is back to it's plain white style.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not breaking anything, however, my customer isn't really satisfied with this. We'd both prefer to maintain the style even if an error occurs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my mark up for the&amp;nbsp;x_header_html_payment_form element with my style:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;INPUT TYPE=HIDDEN NAME="x_header_html_payment_form"&lt;BR /&gt;VALUE="&amp;lt;style type='text/css' media='all'&amp;gt;&lt;BR /&gt;body{background-color:#96403c !important;}&lt;BR /&gt;#divPage{background-color:#fff8e5;}&lt;BR /&gt;#divMerchantHeader{background-image: url('&amp;lt;%= LogoURL %&amp;gt;');&lt;BR /&gt;background-repeat: no-repeat; background-position:center;&lt;BR /&gt;height: 50px;&lt;BR /&gt;background-size: contain;}&lt;BR /&gt;TD{font-family: 'Trebuchet MS' , Verdana, Helvetica, Sans-Serif;font-size:18px; color:#000000;margin-left:1px;}&lt;BR /&gt;INPUT{font-family: 'Trebuchet MS' , Verdana, Helvetica, Sans-Serif;font-size:18px;color: #000000;margin-left:1px;}&lt;BR /&gt;.LabelColTotal{ font-size: 18px; }&lt;BR /&gt;.DataColTotal{ font-size: 18px; }&lt;BR /&gt;input.input_text{ height: 30px; }&lt;BR /&gt;#x_card_num{ width: 150px !important; }&lt;BR /&gt;#x_exp_date{ width: 50px !important; }&lt;BR /&gt;.Comment{ font-size: 13px; }&lt;BR /&gt;&amp;lt;/style&amp;gt;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My style gets placed in the divMerchanteHeader div, just like you would expect:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div id="divMerchantHeader" class="HeaderFooter1"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;style type="text/css" media="all"&amp;gt;&lt;BR /&gt;body{background-color:#96403c !important;}&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;.Comment{ font-size: 13px; }&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even after the failed submission, the&amp;nbsp;&lt;SPAN&gt;divMerchantHeader div appears unaffected. However, the style in it is not applied. Is there a reason this would happen? Is there something I'm configuring wrong in my initial submission?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2013 18:24:39 GMT</pubDate>
    <dc:creator>ACuffman</dc:creator>
    <dc:date>2013-07-02T18:24:39Z</dc:date>
    <item>
      <title>SIM page style lost after bad submission</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34860#M19279</link>
      <description>&lt;P&gt;I hope this isn't a duplicate, but I can't seem to find any information pertaining to my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on a website using the SIM API. I redirect my users to the secure payment page. I've styled the page to look just like our site style, so that worked out really well. After submitted credit card data, I receive the post back to my relay page just fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I'm getting occurs if the user makes a mistake on the secure payment page. Like say, submitting before entering their credit card number. If this happens, the secure payment page will reload, displaying the errors to the user. However, all of my style will not be applied anymore. The secure payment page is back to it's plain white style.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not breaking anything, however, my customer isn't really satisfied with this. We'd both prefer to maintain the style even if an error occurs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my mark up for the&amp;nbsp;x_header_html_payment_form element with my style:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;INPUT TYPE=HIDDEN NAME="x_header_html_payment_form"&lt;BR /&gt;VALUE="&amp;lt;style type='text/css' media='all'&amp;gt;&lt;BR /&gt;body{background-color:#96403c !important;}&lt;BR /&gt;#divPage{background-color:#fff8e5;}&lt;BR /&gt;#divMerchantHeader{background-image: url('&amp;lt;%= LogoURL %&amp;gt;');&lt;BR /&gt;background-repeat: no-repeat; background-position:center;&lt;BR /&gt;height: 50px;&lt;BR /&gt;background-size: contain;}&lt;BR /&gt;TD{font-family: 'Trebuchet MS' , Verdana, Helvetica, Sans-Serif;font-size:18px; color:#000000;margin-left:1px;}&lt;BR /&gt;INPUT{font-family: 'Trebuchet MS' , Verdana, Helvetica, Sans-Serif;font-size:18px;color: #000000;margin-left:1px;}&lt;BR /&gt;.LabelColTotal{ font-size: 18px; }&lt;BR /&gt;.DataColTotal{ font-size: 18px; }&lt;BR /&gt;input.input_text{ height: 30px; }&lt;BR /&gt;#x_card_num{ width: 150px !important; }&lt;BR /&gt;#x_exp_date{ width: 50px !important; }&lt;BR /&gt;.Comment{ font-size: 13px; }&lt;BR /&gt;&amp;lt;/style&amp;gt;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My style gets placed in the divMerchanteHeader div, just like you would expect:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div id="divMerchantHeader" class="HeaderFooter1"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;style type="text/css" media="all"&amp;gt;&lt;BR /&gt;body{background-color:#96403c !important;}&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;.Comment{ font-size: 13px; }&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even after the failed submission, the&amp;nbsp;&lt;SPAN&gt;divMerchantHeader div appears unaffected. However, the style in it is not applied. Is there a reason this would happen? Is there something I'm configuring wrong in my initial submission?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 18:24:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34860#M19279</guid>
      <dc:creator>ACuffman</dc:creator>
      <dc:date>2013-07-02T18:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: SIM page style lost after bad submission</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34939#M19354</link>
      <description>&lt;P&gt;Has anyone seen this issue before? Does anyone have any clues as to what might be causing it? I'm spinning my wheels here.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 13:22:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34939#M19354</guid>
      <dc:creator>ACuffman</dc:creator>
      <dc:date>2013-07-09T13:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: SIM page style lost after bad submission</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34941#M19356</link>
      <description>&lt;P&gt;It work for me on the &lt;A href="https://test.authorize.net/gateway/transact.dll" target="_blank"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Tried on IE, Firefox and Chrome. The only thing I changed was removed the background image as I don't have one.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 16:24:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34941#M19356</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-07-09T16:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: SIM page style lost after bad submission</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34951#M19366</link>
      <description>&lt;P&gt;I've tried it in all of the browsers, and I always get the same result. I tried taking out the background image too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The style shows up fine after loading for the first time. The style gets lost if I click submit without typing anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think it could be something with my account? Like a setting that isn't configured. I just don't know what could possibly be causing this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:37:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34951#M19366</guid>
      <dc:creator>ACuffman</dc:creator>
      <dc:date>2013-07-10T14:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: SIM page style lost after bad submission</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34952#M19367</link>
      <description>&lt;P&gt;It seems that it is defaulting back to whatever style I have set in my profile under Account -&amp;gt; Settings -&amp;gt; Payment Form -&amp;gt; Color and Font Settings. I'm still not sure why it would use the default when it still have the css markup after hitting submit.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:41:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34952#M19367</guid>
      <dc:creator>ACuffman</dc:creator>
      <dc:date>2013-07-10T14:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: SIM page style lost after bad submission</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34953#M19368</link>
      <description>&lt;P&gt;Have you use any of the debugging tools on the browser to see maybe something malformat? Like the chrome/ie/firefox developer tools.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:47:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34953#M19368</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-07-10T14:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: SIM page style lost after bad submission</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34954#M19369</link>
      <description>&lt;P&gt;Good call. I checked the dev tools before, but I did not inspect every element. On the header div, Chrome said that some of the css attributes were actually named improperly. Like instead of "height", it had " &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;height" and it couldn't recognize the attribute name. I just removed all unnecessary white space from the css (it's all on one line now) and now it works. The style is still there after an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So somewhere along the line, the whitespace in my style was confusing something.&amp;nbsp;&lt;SPAN style="line-height: 16px;"&gt;I'm still not sure why that would be, but I'm not complaining now. Thanks for the help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 15:00:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-page-style-lost-after-bad-submission/m-p/34954#M19369</guid>
      <dc:creator>ACuffman</dc:creator>
      <dc:date>2013-07-10T15:00:54Z</dc:date>
    </item>
  </channel>
</rss>

