Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...dnn 5.6.1 fatal error in https checkout to gateway: do not use it!dnn 5.6.1 fatal error in https checkout to gateway: do not use it!
Previous
 
Next
New Post
1/22/2011 12:52 PM
 
****DO NOT INSTALL THIS 05.06.01 VERSION. WE HAVE ECOMMERCE SITE CURRENTLY NOT ABLE TO PROCESS PAYMENTS ON HTTPS. WE ARE CURRENTLY INVESTIGATING THIS ISSUE. I BLAME MYSELF I DID NOT DO A FULL CHECKOUT TO THE PAYMENT PROVIDER...******
 
New Post
1/22/2011 1:34 PM
 
After this piece of code to post data to the payment gateway we get no page served anymore. Fiddler does not give any url and IE drops dead. Worked in version 5.6.0 and earlier.

==

/// <summary>

/// Post the current values to the specified URL. The values will be written as hidden fields.

/// </summary>

public void Post()

{

//Build the used form.

HttpContext.Current.Response.Clear();

HttpContext.Current.Response.Write("<html><Head></Head>");

HttpContext.Current.Response.Write(string.Format("<body onload=\"document.{0}.submit()\">", mFormName));

HttpContext.Current.Response.Write(string.Format("<form name=\"{0}\" method=\"{1}\" action=\"{2}\" >", mFormName, mMethod, mUrl));

for (int i = 0; i < mInputs.Keys.Count; i++)

{

HttpContext.Current.Response.Write(string.Format("<input name=\"{0}\" type=\"hidden\" value=\"{1}\">", mInputs.Keys[i], mInputs[mInputs.Keys[i]]));

}

HttpContext.Current.Response.Write("</form>");

if (!string.IsNullOrEmpty(ScriptToInject))

{

HttpContext.Current.Response.Write(ScriptToInject);

}

HttpContext.Current.Response.Write("</body></html>");

HttpContext.Current.Response.End();

}

 
New Post
1/22/2011 2:19 PM
 
Tons of reasons to go for Magento..this really sucks. No result either:

HttpContext.Current.Response.Clear();
HttpContext.Current.Response.Write("");
HttpContext.Current.Response.Write(string.Format("", mFormName));
HttpContext.Current.Response.Write(string.Format("", mFormName, mMethod, mUrl));
for (int i = 0; i < mInputs.Keys.Count; i++)
{
System.Web.HttpContext.Current.Response.Write(string.Format("", mInputs.Keys[i], mInputs[mInputs.Keys[i]]));
}
HttpContext.Current.Response.Write("");
HttpContext.Current.Response.Write("");
System.Web.HttpContext.Current.Response.End();
 
New Post
1/22/2011 4:31 PM
 
MOVED BACK TO DNN 5.6.0 BY COPYING OVER DNN 5.6.1 VERSION AND REPLACING HTML DLL FILE. FOR SOME REASON THE OUTPUT GENERATED BY CODE IS NOT PASSED BY DNN TO THE CLIENT. WASTED AGAIN A PRECIOUS DAY WITH MY CHILDREN. THOUGHT TO BE GOOD TO IMPLEMENT THE SECURITY PATCHES RIGHT AWAY........WHICH FINALLY I HAD TO UNDO...NO IDEA WHERE THIS ERROR COMES FROM....DNN HELL..NO OTHER WORDS FOR IT. MY APOLOGIES I AM JUST VERY UPSET.
 
New Post
2/1/2011 4:25 AM
 

Issue reported in Gemini: http://support.dotnetnuke.com/issue/V...

The problem is in the compression module of DNN.

DNN 5.6.0 output is like:



HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Tue, 01 Feb 2011 08:37:39 GMT
Content-Length: 1362

<html><Head></Head><body onload="document.form1.submit()"><form name="form1" method="POST" action="url"><input name="BPE_Merchant" type="hidden" value="key"><input name="BPE_Amount" type="hidden" value="2155"><input name="BPE_Currency" type="hidden" value="EUR"><input name="BPE_Description" type="hidden" value="bBayt: WEB20110131-165950-4627895"><input name="BPE_Reference" type="hidden" value="WEB20110131-165950-4627895"><input name="BPE_Language" type="hidden" value="NL"><input name="BPE_Mode" type="hidden" value="1"><input name="BPE_Signature2" type="hidden" value="sign"><input name="BPE_Invoice" type="hidden" value="WEB20110131-165950-4627895"><input name="BPE_Return_Success" type="hidden" value="url"><input name="BPE_Return_Reject" type="hidden" value="url"><input name="BPE_Return_Error" type="hidden" value="url"><input name="BPE_Return_Method" type="hidden" value="POST"><input name="BPE_Style" type="hidden" value="PAGE"><input name="cVar1" type="hidden" value="347-207"></form></body></html>

DNN 5.6.1 produces:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Compressed-By: DotNetNuke-Compression
X-Powered-By: ASP.NET
Date: Tue, 01 Feb 2011 08:49:14 GMT
Content-Length: 1362

<html><Head></Head><body onload="document.form1.submit()"><form name="form1" method="POST" action="url"><input name="BPE_Merchant" type="hidden" value="key"><input name="BPE_Amount" type="hidden" value="2155"><input name="BPE_Currency" type="hidden" value="EUR"><input name="BPE_Description" type="hidden" value="bBayt: WEB20110131-165950-4627895"><input name="BPE_Reference" type="hidden" value="WEB20110131-165950-4627895"><input name="BPE_Language" type="hidden" value="NL"><input name="BPE_Mode" type="hidden" value="1"><input name="BPE_Signature2" type="hidden" value="sign"><input name="BPE_Invoice" type="hidden" value="WEB20110131-165950-4627895"><input name="BPE_Return_Success" type="hidden" value="url"><input name="BPE_Return_Reject" type="hidden" value="url"><input name="BPE_Return_Error" type="hidden" value="url"><input name="BPE_Return_Method" type="hidden" value="POST"><input name="BPE_Style" type="hidden" value="PAGE"><input name="cVar1" type="hidden" value="350-207"></form></body></html>

GZIP in fiddler indicates that zip magic number is incorrect.

Next modification in code makes the post work, but still magic number is incorrect as decoded by Fiddler.
context.Response.AppendHeader("Content-encoding", "*");

The result is:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Encoding: *,gzip
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Compressed-By: DotNetNuke-Compression
X-Powered-By: ASP.NET
Date: Tue, 01 Feb 2011 09:20:38 GMT
Content-Length: 1362

<html><Head></Head><body onload="document.form1.submit()"><form name="form1" method="POST" action="url"><input name="BPE_Merchant" type="hidden" value="key"><input name="BPE_Amount" type="hidden" value="2155"><input name="BPE_Currency" type="hidden" value="EUR"><input name="BPE_Description" type="hidden" value="bBayt: WEB20110131-165950-4627895"><input name="BPE_Reference" type="hidden" value="WEB20110131-165950-4627895"><input name="BPE_Language" type="hidden" value="NL"><input name="BPE_Mode" type="hidden" value="1"><input name="BPE_Signature2" type="hidden" value="sign"><input name="BPE_Invoice" type="hidden" value="WEB20110131-165950-4627895"><input name="BPE_Return_Success" type="hidden" value="url"><input name="BPE_Return_Reject" type="hidden" value="url"><input name="BPE_Return_Error" type="hidden" value="url"><input name="BPE_Return_Method" type="hidden" value="POST"><input name="BPE_Style" type="hidden" value="PAGE"><input name="cVar1" type="hidden" value="357-207"></form></body></html>

Now Content-Encoding: *,gzip is added it seems to work. However, the gzip decompression of fiddler says something is wrong with the magic number.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...dnn 5.6.1 fatal error in https checkout to gateway: do not use it!dnn 5.6.1 fatal error in https checkout to gateway: do not use it!


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out