I have some XML to send...

Basically, this is what is causing me issues.
<cfhttpparam name="xml" type="formfield" value='<cfoutput><?xml 
version="1.0" ?><?qbmsxml 
version="2.0"?><QBMSXML><QBMSXMLMsgsRq><CustomerCreditCardAuthRq><TransRequestID>#session.OrderID#</TransRequestID><CreditCardNumber>#session.creditCardNumber#</CreditCardNumber><ExpirationMonth>#session.expDateMonth#</ExpirationMonth><ExpirationYear>#session.expDateYear#</ExpirationYear><IsECommerce>true</IsECommerce><Amount>#session.Total#</Amount><CreditCardAddress>#session.baddress1#</CreditCardAddress><CreditCardPostalCode>#session.bzip#</CreditCardPostalCode></CustomerCreditCardAuthRq></QBMSXMLMsgsRq></QBMSXML></cfoutput>'
 
/>

This is inside a cfhttp tag.

But I keep getting an error. It's probably something basic that I need 
to do, but I don't know what it is. It's saying I can't have < or > in 
the value string.. Which makes sense.. So how do I actually send an XML 
packet if the packet itself is in XML code?

Do I have to write it to a file and then send it? That would mean the 
file is being rewritten for every purchase.

Either that, or if anyone has anything that allows me to put a purchase 
directly into quickbooks, that would help greatly.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315162
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