Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 06-25-2005, 09:32 AM E-commerce question
Novice Talker

Posts: 8
Trades: 0
Hey there.
I´ve been trying to configure my website to be able to sell goods.

There are 5 stages:

1. store -> card company
just to send the total and card number, etc

2. card company -> store (returns data through my urlback)
card company returns a confirmation number and other values

3. 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?

Last edited by rogernem; 06-25-2005 at 09:47 AM..
rogernem is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to E-commerce question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08255 seconds with 12 queries