Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help With Credit Card Processing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00545481
Message ID:
00578421
Vues:
39
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
Fil
Voir

Click here to load this message in the networking platform