Hi Beat thanks for the reply.
We want to perform an XMLHTTP request to a third-party Website after successful processing of the credit card in CBSubs. As we understand it, the API would be the only way to add-on our workflow...can you create a generalized XMLHTTP module for post-credit card processing that we can utilize? Or is there a simple method we aren't aware of? THANK YOU!
Sample code is below (we will be substituting CB/Joomla user information as needed to establish an account for our subscriber on this third-party Website):
<%
Dim obj
Dim fURL
Dim fHTML
fURL =
www.memberweb.com/activate/activate.asp?GroupID=XXXX&MemberID=a2&
Fname=Jon&Lname=Doe&Address=123EStreet&City=BeverlyHills&State=CA&Zip=90210&Email=JonDoe@abcd.com&Interact=1"
‘the next three lines establish the connection
‘Note: this is using Microsoft XML parser version 4.0
Set obj = Server.CreateObject("Msxml2.ServerXMLHTTP.4.0")
obj.open "GET", fURL, False
obj.send
‘the rest takes any response from our .asp page and does something with it
fHTML = obj.responseText
‘display the response
Response.Write fHTML
‘close the connection
set obj = nothing
%>
END OF
Post edited by: nant, at: 2009/08/25 07:56