Is anyone out there doing any work with online credit card system using CyberSource. My current client's bank will be ending service of their existing process and has forwarded a few alterante options... one of which is CyberSource which does provide an API option (API Version 2.1 for ASP).
If I run via the browser to their sample ASP pages, I get a valid response back, but that is using VBScript. Taking almost identical code, running through VPF, I don't get the response back.
A little more about the code for those who MAY be using it...
In the part where it requires a call to the oClient.RunTransaction, in VB, it doesn't require a few parts, but VFP chokes and requires them...
' code as in VB script sample
dim varReply, nStatus, strErrorInfo
nStatus = oClient.RunTransaction( _
Application( "MerchantConfig" ), Nothing, Nothing, _
oRequest, varReply, strErrorInfo )
In VFP, I have to put in a valid object for the two "Nothing"s above... one for a Proxy object, the other for a log error. No problem creating those...
However, the VarReply can be of an "oRequest" object or as Variant... So, I create as same object type as "oRequest" to get the answer back... The function apparently requires the varReply to be passed by Reference as the API creates its own instance of a new object of the type and returns back the answer, but I keep getting no results...
Anybody have any insight???
Thanks