Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Authorize.net
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01578236
Message ID:
01578423
Vues:
94
I am noy familiar with the class, but he is going to need more info than that - like the merchant info.

>>Does anyone have code available for connecting a desktop application (not a web page) to Authorize.net?
>
>Use Rick Strahl's class with this code:
>
*** AUTHORIZE.NET TEST OPERATION
>o=CREATEOBJECT("wwAuthorizeNet")
>
>o.cHTTPLink = "https://secure.authorize.net/gateway/transact.dll"
>o.cReferringUrl = "https://www.somewebsite.com"
>o.cStoreName = "Accont#
>o.cOrderId = "TestOrder" + SYS(2015)
>o.lTestTransaction = .f.
>o.nOrderAmount = 1.50
>o.cCardNo = "xxxxxxxxxxx"
>o.cSecurityCode = ""
>o.cCardExpiration = "11/2005"
>*o.cCardMonth = "12"
>*o.cCardYear = "2002"
>o.cAddress = "Address1, City, Province"
>o.cZip = "L0G XXX"
>
>o.cFirstName = "Mark"
>o.cLastName = "Letheren"
>o.cEMail = ''
>lnSecs = SECONDS()
>llCCResult = o.ValidateCard()
>
>
>IF o.lError && Hard Error 
>? "Error: ",o.cErrorMsg
>RETURN
>ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform