Hey there.
I´ve been trying to configure my website to be able to sell goods.
There are 5 stages:
store -> card company
just to send the total and card number, etc
card company -> store (returns data through my urlback)
card company returns a confirmation number and other values
store -> company
if the transaction is approved then i(store) return some values to this url
using GET:
http://ecommerce.redecard.com.br/po...nfirma.asp?data
Here is my problem. The manual says that I can´t have a form with those values for example and submit it. They say :
"The trafic of this data can not occurs trhought the users browser neither with your interferance. That means that the webserver will need to communicate directly with the card environment.
You can use for example components, services or servlets.
This procedure garantees the safety of the traffic of data between the store and the card company "
So, how can I do that?
Im programing in php and I had:
meta refresh=0, url=http://ecommerce.redecard.com.br/pos_virtual/confirma.asp?data
The problem is:
I get the final confirmation from the card company saying:
Your transaction has been approved ! (Stage 5)
But it doesnt foward to my urlback again. It just stays in that url.
Maybe because Im using the wrong procedure to do that(meta refresh)
What I need is to send the values using what the said and then get back with the confirmation message in my urlback
Any ideas?
Tkz.
I also have a code like this given by the card company:
Set obj = Server.CreateObject("Msxml2.ServerXMLHTTP")
obj.open "GET", "http://" & varServerName & "/pos_virtual/confirma.asp?DATA=" & varData & "&NUMSQN=" &varNumSqn & "&NUMCV=" & varNumCV & "&NUMAUTOR=" & varNumAutor & "&PARCELAS=" & varParcelas & "&TRANSORIG=" & varTransOrig & "&TOTAL=" & varTotal & "&FILIACAO=" & varFiliacao & "&DISTRIBUIDOR=" & varDistribuidor & "&NUMPEDIDO=" & varNumPedido & varDadosAdicionaisIATA, False
obj.send
ret = obj.responseText
Set obj = Nothing
ObjectXML is the name of this code. I think that could help me do that but
How can I use it?