- Mymnrumourf, xxkalliy, Infevavof and 1 other like this
- PayPal Forum | PayPalDev.org
- → Most Liked Content
Most Liked Content
#48 https http ?
Posted by
Guest(old)
on 12 November 2002 - 01:08 PM
#33 Help with ColdFusion IPN.
Posted by
splendorx
on 05 November 2002 - 03:56 PM
Here is the code:
<!-- read post from PayPal system and add 'cmd' -->
<CFSET str="cmd=_notify-validate">
<CFLOOP INDEX="TheField" list="#Form.FieldNames#">
<CFSET str = str & "LCase(TheField)#=#URLEncodedFormat(Evaluate(TheField))#">
</CFLOOP>
<CFIF IsDefined("FORM.payment_date")>
<CFSET str = str & "&payment_date=#URLEncodedFormat(Form.payment_date)#">
</CFIF>
<CFIF IsDefined("FORM.subscr_date")>
<CFSET str = str & "&subscr_date=#URLEncodedFormat(Form.subscr_date)#">
</CFIF>
<!-- post back to PayPal system to validate -->
<CFHTTP URL="https://www.paypal.com/cgi-bin/webscr?#str#" METHOD="GET" RESOLVEURL="false">
</CFHTTP>
<!-- assign posted variables to local variables -->
<CFSET receiver_email=FORM.receiver_email>
<!-- note: additional IPN variables also available -- see IPN documentation
<CFSET item_name=FORM.item_name>
<CFSET payment_status=FORM.payment_status>
<CFSET payment_gross=FORM.payment_gross>
<CFSET txn_id=FORM.txn_id>
<CFSET payer_email=FORM.payer_email>
<CFIF IsDefined("FORM.item_number")>
<CFSET item_number=FORM.item_number>
</CFIF>
-->
<!-- check notification validation -->
<CFIF #CFHTTP.FileContent# is "VERIFIED">
<cfoutput>
#FORM.receiver_email#
It works!
</cfoutput>
<!-- check that payment_status=Completed -->
<!-- check that txn_id has not been previously processed -->
<!-- check that receiver_email is your email address -->
<!-- process payment -->
<CFELSEIF #CFHTTP.FileContent# is "INVALID">
<!-- log for investigation -->
It's not being verified!
<CFELSE>
<!-- error -->
</CFIF>
I am using a third-party to verify:
http://www.optionins...IPNtestbed.html
I am trying to pass the value of receiver_email to verify transaction is working properly. No luck. Not sure what I may be doing incorrectly. I would appreciate any feedback.
splendorx
- Mymnrumourf, xxkalliy, Infevavof and 1 other like this
#24 Can someone walk me through the "testing" tip?
Posted by
sduraybito
on 30 October 2002 - 05:03 PM
1. Where will I see these FORM variables: on the actual page, in the address bar or under View Source?
2. Am I looking for this information on a Paypal payment page or on the script page I am using?
Thanks.
- Mymnrumourf, xxkalliy, Phenembency and 1 other like this
#20 Problems with response from Paypal server
Posted by
Julie
on 30 October 2002 - 12:20 AM
- Mymnrumourf, xxkalliy, Infevavof and 1 other like this
#52 IPN Didn't Process w/ uncleared PayPal eCheck...
Posted by
FusionSoft
on 13 November 2002 - 12:17 AM
- Mymnrumourf, xxkalliy and Infevavof like this
#38 Received email cc but no subscription
Posted by
sduraybito
on 08 November 2002 - 10:33 AM
Peter
- abracadabra, Mymnrumourf and Calzumor like this
#37 always returns invalid!!
Posted by
scoutt
on 07 November 2002 - 07:06 PM
Result: HTTP/1.1 200 OK
Result: Date: Thu, 07 Nov 2002 20:45:57 GMT
Result: Server: Apache/1.3.26 (Unix) mod_bwlimited/1.0 PHP/4.2.2 mod_log_bytes/0.3 FrontPage/5.0.2.2510 mod_ssl/2.8.9 OpenSSL/0.9.6b
Result: X-Powered-By: PHP/4.2.2
Result: Expires: Tue, 01 Jan 1985 07:15:30 GMT
Result: Cache-Control: no-cache, must-revalidate
Result: Pragma: no-cache
Result: Connection: close
Result: Content-Type: text/html
Result:
Result: INVALID
someone explain why it returns invalid!! please
http://www.snippetlibrary.com
- Mymnrumourf, xxkalliy and Calzumor like this
#34 receiver_email?
Posted by
scoutt
on 05 November 2002 - 09:59 PM
I am a little confused here. am I suppose to check the email against the users email in my DB or somewhere else?
http://www.snippetlibrary.com
- Mymnrumourf, xxkalliy and Infevavof like this
#30 Learning IPN as I go
Posted by
birddogsgarage
on 03 November 2002 - 05:59 AM
I am wondering if anyone knows of a basic walkthrough for a newbie to set up IPN using php and a mysql database.
I am trying to set up a system for both a classified ads section and a consignment section with subscription capabilities.
If anyone knows of a "Basic" tutorial it would be appreciated.
Thanks,
TJ
- Mymnrumourf, xxkalliy and Infevavof like this
#28 processing sequence
Posted by
Darren
on 01 November 2002 - 06:37 PM
After reading much of the material available on single, basket and IPN based transactions I have a few concerns/questions.
It is my understanding customer X does a POST to paypal from the web site of merchant Y. The form data in that post came from merchant Y's website as described in countless examples. Customer X then logs into paypal and initates a payment for the goods/services. Merchant Y then receives an IPN call regarding the transaction.
1. What is preventing Customer X from spoofing a POST call to paypal for the goods/services, but with significantly lower prices? say $1 for a $300 item?
2. When paypal sends the IPN call to merchant Y, that seems to be the opportunity to validate the transaction. Assuming the merchant validates the transaction how does it tell paypal something is wrong? Every example provided, or talked about seems to imply that paypal is the *only* authority on validating a transaction. It seems logical that customer X, Paypal and merchant Y, all need to validate the transaction before it becomes "valid"... correct? How is this suppose to work?
3. How many times does paypal attempt IPN and if multiple times, how much time inbetween?
4. What happens if paypal never completes the IPN call? Servers occationally go down, and in the off chance a would-be buyer posts just as the merchants server goes offline... how does the process handle that situation?
As mentioned, I am new to paypal so forgive my ignorance on the subject. Perhaps I overlooked a document or two.
- Mymnrumourf, xxkalliy and Phenembency like this
#23 Different Currency
Posted by
Bruce
on 30 October 2002 - 08:52 AM
I was under the impression that PayPal was recently adapted for pounds and euros.
Cheers
Bruce
Serendipity-Interactive
- Mymnrumourf, xxkalliy and Infevavof like this
#17 Shannon - help! AccessLevel not switching to 5
Posted by
sduraybito
on 25 October 2002 - 10:41 AM
I can't get the AccesLevel to switch to five.
1. I enter the username/password on the register.asp page.
2. tblUsers updates with that username/password and defaults to 1.
3. I continue with registration through to PayPal and receive enail confirmation.
4. The username/password AccessLevel field does NOT get switched to 5 as it's supposed to.
Does it make a difference that this is a free trial subscription with no payment until after two weeks. The user should still be able to access content.
Peter
- Mymnrumourf, xxkalliy and Infevavof like this
#16 IPN on multiple sites
Posted by
andrewpeacock
on 24 October 2002 - 04:44 AM
Great site - glad I found it!
Here's a question for you IPN gurus :-)
I have three different sites which I want to work with paypal, but only one credit card, and hence only one paypal account.
My problem is that I want the following:
1. Site 1. Do not use IPN. Used for a subscription service, but I want to process it manually.
2. Site 2. Single item purchases, using the EliteWeaver.co.uk software running on site 2. IPN should be enabled.
3. Site 3. Single item purchases, using the EliteWeaver.co.uk software running on site 3. IPN should be enabled.
My question is - how can I disabled IPN for site 1, and have sites 2 and 3 going to different URLs.
I think the latter part can be solved by using the notify_url parameter, but how can I turn off IPN for site one.
If I turn off IPN in my profile, but include notify_url in site 2 and 3, does that enable IPN for those sites despite my profile being IPN-disabled?
I greatly appreciate any help you an offer,
Regards,
Andy
- Mymnrumourf, Infevavof and TigrenokTLaniannonna like this
#43 ASP script erroring out ...
Posted by
ipnuser
on 10 November 2002 - 06:47 PM
Hello ipn gurus,
I am using the ipnpage.asp sample from the article 'SECURING DOWNLOAD PURCHASES USING THE PAYPAL IPN' on superfreaker.com.
I was testing it using ipnpal script, but the script fails with the following error:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/appuser/Content/ipnpage.asp, line 89
Invalid class string
Line 89 in the asp file is:
set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")
I have the same exact line as in the sample code on paypal and superfreaker site.
Please help!!.
Thanks,
- Mymnrumourf and Abrapnava like this
#27 New IPN Home on PayPal
Posted by
PayPalDave
on 01 November 2002 - 01:53 PM
http://www.paypal.co...n-intro-outside
enjoy...
Dave McClure dmcclure@paypal.com
Director Geek Marketing
PayPal Developer Network (PDN)
http://www.paypal.com/pdn
- Mymnrumourf and Infevavof like this
#26 $payment_status="Pending"
Posted by
Bruce
on 01 November 2002 - 09:27 AM
If $payment_status is Pending, shouild my script do nothing and wait for the $payment_status="Completed" to be returned from the paypal server.
I am only wanting to process an order when I know that it is verified and payment_staus="completed".
Apologies if this seems a simple question.
Thanx
Bruce
- Mymnrumourf and Infevavof like this
#22 Checking that txn_id
Posted by
Bruce
on 30 October 2002 - 05:39 AM
A really simple question, but how do I check that txn_id has not been previously processed. I am intending to use Perl.
What do I check txn_id against, I know that I have to check register_email with my email address, but what do I check the txnid with?
Also I want to do a couple of inserts into my DB, when the payment has been completed, if the payment is pending do I just do nothing until the I get a failed or completed from the paypal server.
Cheers
Bruce
- Mymnrumourf and Infevavof like this
#18 IPN is slow sometimes? or is it just me?
Posted by
WayneLambright
on 28 October 2002 - 03:11 PM
cheers
wayne.
I just finished something new called http://ImageDeposit.com
Wayne Lambright
Http://Subscriptionkit.com
Http://MxExtensions.com
- Mymnrumourf and Infevavof like this
#163 subscription "custom" from form.
Posted by
Guest(old)
on 28 November 2002 - 01:38 AM
- xxkalliy and sachinkalane like this
#126 Trial Offer
Posted by
Guest(old)
on 23 November 2002 - 12:10 PM
Jim
- xxkalliy and Infevavof like this
- PayPal Forum | PayPalDev.org
- → Most Liked Content
- Privacy Policy