Greetings,
I am setting up a DataLink with CCBill using the following script and received an error. However, when I past the link into the browser address bar the results are returned and displayed with out error. The link is a test link with account id, name, and pw. Can anyone assists me with this or is there sample code out there that I could look through?
** The Error: response = Error: Invalid client account number provided.
set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.open "POST", "https://datalink.ccbill.com/data/main.cgi?startTime=20050115010305&endTime=20050115 102334&transactionTypes=NEW,REBILL,REFUND,EXPIRE,C HARGEBACK,VOID&clientAccnum=999999&clientSubacc=00 00&username=myname&password=mypw&testMode=1", false
xml.send ""
strStatus = xml.Status
strRetval = xml.responseText
set xml = nothing
Response.Write "response = " & strRetVal & "<BR>"
Your assistance is greatly appreciated.
Thanks!
I am setting up a DataLink with CCBill using the following script and received an error. However, when I past the link into the browser address bar the results are returned and displayed with out error. The link is a test link with account id, name, and pw. Can anyone assists me with this or is there sample code out there that I could look through?
** The Error: response = Error: Invalid client account number provided.
set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.open "POST", "https://datalink.ccbill.com/data/main.cgi?startTime=20050115010305&endTime=20050115 102334&transactionTypes=NEW,REBILL,REFUND,EXPIRE,C HARGEBACK,VOID&clientAccnum=999999&clientSubacc=00 00&username=myname&password=mypw&testMode=1", false
xml.send ""
strStatus = xml.Status
strRetval = xml.responseText
set xml = nothing
Response.Write "response = " & strRetVal & "<BR>"
Your assistance is greatly appreciated.
Thanks!

Comment