Try putting that content not between the cfhttp tags but in a cfhttpparam with type="body". /CharlieSent from my mobile device. Please pardon typos. -------- Original message --------From: Shane Heasley <[email protected]> Date: 3/26/21 8:17 PM (GMT-06:00) To: [email protected] Subject: Re: [houcfug] Posting to PayPal In the body though, not the header. On phone, just initial reactions from memory.On Fri, Mar 26, 2021, 13:02 Mike Gillespie <[email protected]> wrote:PayPal is telling me that they are not getting my post data. Any suggestion on what I am doing wrong here? Do I actually need to put the JSON data in a cfhttpparam tag?<cfhttp method="post" url="#variables.apiURL##theQuote.auth_id#/capture" result="ppcapt"> <cfhttpparam type="header" name="Content_Type" value="application/json" > <cfhttpparam type="header" name="PayPal-Request-Id" value="#theQuote.pp_request_id#" > <cfhttpparam type="header" name="Authorization" value="Basic #ToBase64(variables.apiClientID & ":" & variables.apiSecret)#"> {"amount":{"currency":"USD","total":"#replace(decimalformat(totalCost),',','','all')#"},"is_final_capture":true,invoice_id:"#invoiceData.invoice#","note_to_payer":"Invoice #invoiceData.invoice# has been generated, paid and closed for Service #arguments.quotenumber#."}</cfhttp>
-- -- You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [email protected] For more options, visit http://groups.google.com/group/houcfug?hl=en --- You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/houcfug/f97b7f3a-0680-4d3c-954e-c3db3f3400a6n%40googlegroups.com. -- -- You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [email protected] For more options, visit http://groups.google.com/group/houcfug?hl=en --- You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/houcfug/CADRvy%2BuhyH%3De-qoQu8QPi2dGTnP5kgJJsaBGWFVwEbodyYbr2w%40mail.gmail.com. -- -- You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [email protected] For more options, visit http://groups.google.com/group/houcfug?hl=en --- You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/houcfug/605e93b1.1c69fb81.24bf7.a36bSMTPIN_ADDED_MISSING%40gmr-mx.google.com.
