OK, that's a new link. The one I had gave the code that I sent in the
original post, which DID not work (gave the INVALID) response. So,
I'll have to take a look at this. I will say that if anyone is
interested in setting up payments for things like shopping carts, or
dynamically priced items, using an open ssl cert (pem), I can help
with that. It's just this darned IPN response part that seems to be a
problem.
Will look into - thank you!!
_____________________
Derrick Peavy
derr...@derrickpeavy.com
404-786-5036
_____________________
On Jun 24, 2009, at 3:36 PM, Wes Byrd wrote:
Yes. Unfortunately, that project was last updated in April of 07.
I tried using it on a project some time back and seem to remember
that it was no longer compatible with the latest updates that PayPal
had made with its system.
I ended up using PayPal’s provided CF API code (that is a total
mess). You can find that here:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks
Are you using the above or something else?
Wes
From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Derrick
Peavy
Sent: Wednesday, June 24, 2009 3:22 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] PayPal IPN and ColdFusion
Teddy: Thank you for the link!
I'd love to look at that code. However, I appear to be a complete
and total idiot, as I cannot find a download link on that page and
the only link for the project (http://svn.riaforge.org/PayPalCFC/)
is dead.
And, I'm not trying to be a smart a** either - I seriously do not
see a link in my browser. Maybe that's why the project as 3,954
views and 0 downloads?
_____________________
Derrick Peavy
derr...@derrickpeavy.com
404-786-5036
_____________________
On Jun 24, 2009, at 1:52 PM, Teddy R. Payne wrote:
Have you looked into?
http://paypalcfc.riaforge.org/
Teddy R. Payne, ACCFD
Google Talk - teddyrpa...@gmail.com
On Wed, Jun 24, 2009 at 12:15 PM, Derrick Peavy <derr...@derrickpeavy.com
> wrote:
I KNOW that someone here has cracked this nut before. I have
integrated PayPal into a couple of CF sites recently, but I am
having problems with the IPN portion. I am using OpenSSL and
PayPal's public key to send the transaction (on the fly prices, so
it's not a "copy paste" operation of PayPal's encrypted pay now
buttons.
Again, no problem SENDING the transaction and having the payment go
through.
The problem is that I can't seem to get the IPN response to work
when the transaction comes back. I've tried multiple solutions and
code snippets from around the web (yes, PayPal's solution failed).
So, anyone have any luck with this? Here are two code examples, both
return and "INVALID" response when trying to validate the payment in
real time.
<!--- read post from
PayPal system and add 'cmd' --->
<CFSET
str="cmd=_notify-validate">
<CFLOOP
collection=#FORM# item="field">
<CFIF
FORM[field] NEQ "FIELDNAMES" AND FORM[field] NEQ "CHARSET">
<
CFSET str = str & "&#LCase(field)#=#URLEncodedFormat(FORM[field])#">
</CFIF>
</CFLOOP>
<!--- post back to
PayPal system to validate --->
<CFHTTP URL="https://www.paypal.com/cgi-bin/webscr?
#str#" METHOD="GET" RESOLVEURL="false"></CFHTTP>
#CFHTTP.FileContent#
HTTP content is "INVALID"
<cfset
StructDelete(form, "fieldnames", false)>
<cfhttp url="https://www.paypal.com/cgi-bin/webscr?
" method="post" resolveurl="false" throwonerror="yes" timeout="5">
<cfhttpparam name="cmd" type="formfield" value="_notify-validate">
<cfloop
index="thefield" list="#StructKeyList(form)#">
<
cfhttpparam name="#LCase(thefield)#" type="formfield"
value="#form[thefield]#">
</cfloop>
</cfhttp>
#CFHTTP.FileContent#
HTTP content is "INVALID"
_____________________
Derrick Peavy
derr...@derrickpeavy.com
404-786-5036
_____________________
On Jun 5, 2009, at 2:01 AM, Mike Staver wrote:
Let's say I'd like to write code in ColdFusion, compile it to
obfuscate the source, and build an installer with something like
Install Shield so it could be installed onto any web server. I've
never used cfcompile before, and according to Adobe, a web server
path is required:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=deploying_5.html
I know that cfcompile turns CFML to java byte code in the form of
classes - but what does the utility need the web server path for?
Would there be a way to make it dynamic?
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------