Information générale
Catégorie:
Produits tierce partie
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
>Hi Claude,
>
>Could you please give me some advice as to how can I integrate with CyberCash.
>We have a client that uses Cybercash's CashRegister for their webstore, and I would like to know if it's possible to use it as a payment-processing engine. I was checking the documentation available on CyberCash's web site, and I think I should use the CYCHCMK.DLL included with their Merchant Connection Kit, but I'm not sure on how to adjust the C/ASP/VB examples for Foxpro.
>
>To be more specific, where should the DLL reside and be registered - on the web server?
>
>What does the "Server" part in
>
>Variable = Server.CreateObject("CyberCashMCK.MessageBlock")
>
>stand for?
>
>Thank you in advance,
>
>Marius Muntean
>Advanced Utility Systems
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement