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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDynamic Form HTTP POST eventDynamic Form HTTP POST event
Previous
 
Next
New Post
5/26/2010 7:45 PM
 
Hello, I'll really appreciate some help with the Dynamic Form Http Post event.

I'm working on a site (DNN version 05.02.03) that has enabled an online payment option (not paypall).

The payment application is on the same server and should receive the information sent from the site after completing the form through Http Post event.

Also I have another event that redirects to the url of the payment application. In the Http Post event I enter the URL for Post (the same url that I used in the redirects event) and the following is the contents of my Http Post (I'm using the short names of the fields):


ID_WEBSITE=$(IdWeb)&ID_CLIENTE=$(IdNro)&NOMBRES_CLIENTE=$(FName)&APE_PAT_CLIENTE=$(LNameF)&APE_MAT_CLIENTE=$(LNameM)&FECHA_NAC_CLIENTE=$(Birth)&EMAIL_CLIENTE=$(Email)&FONO_CLIENTE=$(Phone)&DIRECCION_CLIENTE=$(Address)&CIUDAD_CLIENTE=$(City)&CODIGO_POSTAL_CLIENTE=$(Postal)&NACIONALIDAD_CLIENTE=$(Nacional)&MONEDA_TRANSACCION=$(Moneda)&MEDIO_PAGO=$(MPago)&MONTO_TOTAL_TRANSACCION=$(TAmmount)&IDIOMA=$(Lang)&ITEMS_CODIGO=$(ICod)&ITEMS_DESCRIPCION=$(IDesc)&ITEMS_CANTIDAD=$(ICant)&ITEMS_VALOR=$(IAmmount)&LINK_PDF_CONDICIONES=$(LPdf)

I tested using the test url http://authors.aspalliance.com/aldotnet/examples/posttest.asp and arguments come good.

Submitting the form to the real url, It invariably returns an error as if it did not receive any arguments.

When I run the following html, which has the same arguments and use the same url, the process works perfectly:


<form action="http://site_name/pagos/goPagar.aspx" method="POST">
  <input type="hidden"  name="ID_WEBSITE" value="1" />
  <input type="hidden"  name="ID_CLIENTE" value="55555555" />
  <input type="hidden"  name="NOMBRES_CLIENTE" value="XXXXX"/>
  <input type="hidden"  name="APE_PAT_CLIENTE" value="YYYYY"/>
  <input type="hidden"  name="APE_MAT_CLIENTE" value="ZZZZZ"/>
  <input type="hidden"  name="FECHA_NAC_CLIENTE" value="05/05/1953"/>
  <input type="hidden"  name="EMAIL_CLIENTE"  value="nnn@gmail.com"/>
  <input type="hidden"  name="FONO_CLIENTE"  value="+5629999999"/>
  <input type="hidden"  name="DIRECCION_CLIENTE"  value="Avda. La Dehesa nnnn, Of.nn"/>
  <input type="hidden"  name="CIUDAD_CLIENTE"  value="Santiago"/>
  <input type="hidden"  name="CODIGO_POSTAL_CLIENTE"  value="7777777"/>
  <input type="hidden"  name="NACIONALIDAD_CLIENTE" value="40"/>
  <input type="hidden"  name="MONEDA_TRANSACCION" Value="1"/>
  <input type="hidden"  name="MEDIO_PAGO" Value="1"/>
  <input type="hidden"  name="MONTO_TOTAL_TRANSACCION"  value="99999"/>
  <input type="hidden"  name="IDIOMA" value="en"/>
  <input type="hidden"  name="ITEMS_CODIGO"  value="1;2"/>
  <input type="hidden"  name="ITEMS_DESCRIPCION"  value="xxxxxx;yyyyyy"/>
  <input type="hidden"  name="ITEMS_CANTIDAD"  value="2;3"/>
  <input type="hidden"  name="ITEMS_VALOR"  value="8888;7777"/>
  <input type="hidden"  name="LINK_PDF_CONDICIONES" value="http://site_name/LinkClick.aspx?fileticket=w7migfDhrMY%3d&tabid=273&language=en-US"/>
  <input type="submit" value="Enviar" />
</form>


What I'm doing wrong, or what should I do to get the process working well?

Thank in advance for any help and sorry but english is not easy to me.
 
New Post
8/4/2014 1:27 AM
 

Hello,

New to dynamic form. I'm just trying to post value to an URL and display in redirected aspx page. It is not redirecting. Any help pls.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDynamic Form HTTP POST eventDynamic Form HTTP POST event


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