That would be one of my initial thoughts, yes.

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
> <https://groups.google.com/d/msgid/houcfug/f97b7f3a-0680-4d3c-954e-c3db3f3400a6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
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%2BtRbgcRghd-1CqngHwGYQkNkknXBJ2NtbeRxkx%3DnWmtgw%40mail.gmail.com.

Reply via email to