General information
Category:
Third party products
Well, we used it from a web server where it could be centralized if you're doing web apps. The 2 important files are CYCHMCK.DLL (regsvr32 it wherever it runs) and the 'merchant_conf' configuration file where you put your specific account configuration info. You'll probably need to experiment for desktop apps, but, I don't see why it couldn't be centralized on a network drive...
>Claude,
>
>Thanks for your reply.
>
>I guess the CYCHMCK.DLL has to be registered on all computers that need to access its objects/methods; having said that, does the DLL have to reside on all client computers, and how do I register it if not (if it's only on the server where the MCK was installed)?
>
>Marius Muntean
>Advanced Utility Systems
>
>
>>Andreas,
>>
>>We've since moved on to Verisign Payflow(they now own CyberCash),but, if you're going to use CashRegister, give this a try:
>>Function Cybercash
>>Input= CreateObject('CyberCashMCK.MessageBlock')
>>sConfigLoc = 'c:\cybercash\merchant_conf'
>>
>>sCommand='mauthcapture'
>>sPaymentURL='http://cr.cybercash.com/cgi-bin/cr21api.cgi/mauthcapture'
>>input.add('card-number', m.cnum)
>>input.add('card-exp', m.cexpir)
>>input.add('card-name', m.first+' '+m.last)
>>input.add('card-address', m.add1)
>>input.add('card-city', m.city)
>>input.add('card-state', m.stat)
>>input.add('card-zip', m.zip)
>>input.add('card-country', 'USA')
>>input.add('order-id', m.unique)
>>input.add('amount', m.totfee)
>>SockObj=CreateObject('CyberCashMCK.socket.1')
>>result=SockObj.SendCCServer(sPaymentURL, sConfigLoc, Input)
>>lcResult=result.write
>>
>>* unencode URL encoded string
>>lcResults=URLDecode(lcResult)
>>RETURN lcResults
>>
>>
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only