thanks David. I appreciate it.

On Tue, Jul 28, 2009 at 2:23 PM, David McGuigan <[email protected]>wrote:

>
>                        <!--- Prep request --->
>                        <cfset qAppId = "XXXXXXX">
>                        <cfset qAppLogin = "whatev.yourdomain.com">
>                        <cfset qTimeStamp =
> "#dateformat(now(),"yyyy-mm-dd")#T#timeformat(now(),"HH:mm:ss")#">
>                        <cfset qConnTicket = "XXXXXXXXXXXXXXXXXXXXXX">
>
>                            <cfsavecontent variable="QBMSXML"><?xml
> version="1.0"?>
>                                <?qbmsxml version="2.0"?>
>                                <QBMSXML>
>                                    <SignonMsgsRq>
>                                        <SignonDesktopRq>
>
>  <ClientDateTime>#qTimeStamp#</ClientDateTime>
>
>  <ApplicationLogin>#qAppLogin#</ApplicationLogin>
>
>  <ConnectionTicket>#qConnTicket#</ConnectionTicket>
>                                            <Language>English</Language>
>                                            <AppID>#qAppId#</AppID>
>                                            <AppVer>1.0</AppVer>
>                                        </SignonDesktopRq>
>                                    </SignonMsgsRq>
>                                    <QBMSXMLMsgsRq>
>                                        <CustomerCreditCardChargeRq>
>
>  <TransRequestID>#CreateUUID()#</TransRequestID>
>
>  <CreditCardNumber>#form.ccNumber#</CreditCardNumber>
>
>  <ExpirationMonth>#form.ccMonth#</ExpirationMonth>
>
>  <ExpirationYear>#form.ccYear#</ExpirationYear>
>
>  <IsCardPresent>false</IsCardPresent>
>                                            <Amount>#numberformat( (
> form.quantity * form.price ),"_.99")#</Amount>
>
>  <NameOnCard>#form.ccName#</NameOnCard>
>
>  <CreditCardAddress>#yourCodeThatAssemblesTheAddress( form
> )#</CreditCardAddress>
>
>  <CreditCardPostalCode>#form.contactZipcode#</CreditCardPostalCode>
>
>  <SalesTaxAmount>0.00</SalesTaxAmount>
>
>  <CardSecurityCode>#form.ccCCD#</CardSecurityCode>
>       </CustomerCreditCardChargeRq>
>                                    </QBMSXMLMsgsRq>
>                                </QBMSXML>
>                            </cfsavecontent>
>
>                        <!--- Submit request to Quickbooks --->
>                        <cfhttp url="
> https://merchantaccount.quickbooks.com/j/AppGateway"; method="post"
> port="443">
>                            <cfhttpparam type="Header"
> name="Accept-Encoding" value="*">
>                            <cfhttpparam type="Header" name="TE"
> value="deflate;q=0">
>                            <cfhttpparam type="header" name="content-type"
> value="application/x-qbmsxml" />
>                            <cfhttpparam type="header" name="content-length"
> value="#len(QBMSXML)#" />
>                            <cfhttpparam type="body" name="requestXML"
> encoded="no" value="#QBMSXML#" />
>                        </cfhttp>
>
>                <!--- Response / debugging --->
>                <cfset QBMSReturn = xmlParse(cfhttp.filecontent) />
>
>
>
>
> On Tue, Jul 28, 2009 at 1:12 PM, Clint Tredway <[email protected]> wrote:
>
> >
> > Has anyone been able to integrate with QBMS using CF? I have looked
> around
> > some on different forums and the last time someone posted a solution was
> > over a year ago. I really need help in finding out how to do this pretty
> > quickly. Any help is appreciated.
> >
> > Thanks!
> >
> > --
> > “When you choose hope, anything is possible.”
> > -Christopher Reeve
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325087
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to