31
intel352
Re: donations not logging ipn transactions
  • 2005/9/7 11:33

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


EDIT: dammit, i posted this in html, which PREVIEWED properly, but didn't post properly. these forums have GOT to change.

These are the most common problems affecting developers when
working with IPN. The most common solutions are noted as well. Hope
this information helps someone out there!<br><br><br>REASONS FOR INVALID<br><br>- Make sure you are posting back ALL variables/values.<br><br>For
PayPal to return VERIFIED, your IPN script needs to post back ALL the
variables that were posted to it in the first place. In other words, if
your script only needs to manipulate 1 or 2 variables, it is not enough
to post back to PayPal only the variables/values your script is
concerned with. Your script should post back EVERYTHING that was
initially posted to it from PayPal. This is the only way PayPal will
return VERIFIED<br><br>- Make sure you are not posting back to the wrong URL.<br><br>If
you are testing in the Sandbox, you need to ensure your script posts
back to www.sandbox.paypal.com. If you are on the live site, the script
should post back to www.paypal.com. You will receive INVALID if you are
testing in the Sandbox and your script posts back to the live site (or
vice versa)<br><br><br>TROUBLESHOOTING TIPS - IPN is not POSTing!<br><br>- Email address on receiving account. <br><br>Make sure you've confirmed the email address on the account the payment is being sent to. <br><br><br>- Access Logs<br><br>If
you feel IPN is not posting to your script, you can verify this by
checking your server's access logs. The server access logs will tell
you if PayPal is "hitting your script" at all. An access log tracks the
IP addresses and/or hostnames of computers that access the server.<br><br>That you can access your server's access logs is up to the server admin. Check with them if you do not know where the logs are.<br><br>- Error logs<br><br>Most
scripting languages output to error logs if an error occurs when
running the script. If you see in your access logs that PayPal is
sending the IPN but you are not seeing the intended end result from
your script, odds are you have a logic or syntax error in the script.
Check your error logs to verify. <br><br>Again, if you don't know how or where to check these logs, you would need to consult your server's administrator.<br><br>- Check Paths<br><br>An
easy mistake to make. Always ensure the path to your script is correct
when testing/using IPN and you feel that you are not getting an IPN
post. <br><br>- Firewalls<br><br>IPN is an HTTP POST initiated from
PayPal. If you have a firewall on your server, make sure your firewall
is not blocking the post from PayPal. <br><br>- IPN posts to your return URL (added 8/22/05)<br><br>Some
merchants are setup such that they would like to get IPN data posted to
the value of their return variable in their button code (return URL).
This is the URL the buyer is directed to after a PayPal payment has
been made. As of the last PayPal site update which occurred on 8/19/05,
it is no longer enough to have IPN enabled in your PayPal account
profile to have IPN data POSTed to your return URL. As of now, you MUST
set the rm variable equal to "2" in your button code or you will not
see any IPN data POSTed to your return URL. For more information see <br><a href="http://paypal.forums.liveworld.com/thread.jspa?threadID=400000598&tstart=0&start=-1" target="_blank">http://paypal.forums.liveworld.com/thread.jspa?threadID=400000598&tstart=0&start=-1</a> <br>**
Note that this information is about IPN and how it works with your
return URL (button code variable 'return'). If you have Auto Return
with PDT enabled (or Auto Return by itself) this information does not
apply to you. <br><br><br><br>TESTING TIPS<br><br>See <br><a href="http://paypal.forums.liveworld.com/thread.jspa?threadID=400000162" target="_blank">http://paypal.forums.liveworld.com/thread.jspa?threadID=400000162</a>

32
Corneloues
Re: donations not logging ipn transactions
  • 2005/9/19 15:50

  • Corneloues

  • Just popping in

  • Posts: 9

  • Since: 2005/9/18


I've been cathing up with this thread as I have a need to put a PayPal donations block on my site.

I've tried xDonations and now a copy of the Donations speciefied in this thread by AdRock.

It installed Ok, but when I try and add one of the blocks I get the following error message:

Blocks Administration »» Add a new block

Fatal error: Call to undefined function: b_donations_donors_edit() in D:\Clients\corneloues.co.uk\htdocs\kernel\block.php on line 92

Any ideas?

Roy

33
intosia
Re: donations not logging ipn transactions
  • 2005/9/26 16:42

  • intosia

  • Just popping in

  • Posts: 51

  • Since: 2005/7/23


If i reciew a donation on my site, paypal openens the IPN link, BUT in the logs (db) it reads this:
Opening connection and validating request with PayPal...
OK!
Incorrect receiver email:  , aborting...
<
br>Logging events<br>


What email is not corrent?? I dont get it :S
Asian Chicks for Life! ^^

34
m0nty
Re: donations not logging ipn transactions
  • 2005/9/26 18:19

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


the email address u provide in xdonations for IPN returns needs to be an existing mailbox..

what i mean by that is, it has to be a physical mailbox and not a forwarding or catch all account.

35
intosia
Re: donations not logging ipn transactions
  • 2005/9/27 8:10

  • intosia

  • Just popping in

  • Posts: 51

  • Since: 2005/7/23


Quote:

m0nty wrote:
the email address u provide in xdonations for IPN returns needs to be an existing mailbox..

what i mean by that is, it has to be a physical mailbox and not a forwarding or catch all account.

it says that with all transactions.... And they are the same ppl that used donate on my old site to (phpnuke), wwhich work like a charm.... I dont get it, i need this stuff to work, im getting beatin here, by the boss

edit: i used a fake email adres with sandbox, still doesnt work. And the original email adres from the old site (on paypal.com, ofcourse), but both give me the same error... I dont see what the diff. is between the nuke module and the XOOPS module
Asian Chicks for Life! ^^

36
McNaz
Re: donations not logging ipn transactions
  • 2005/9/27 11:07

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Just to add my two pennies here.

Please bear in mind that Paypal's IPN network is not an instant notification method. IE. Don't expect to leave the "Payment Confirmed" page and get an IPN notification immediately on your site. Sometimes IPN takes over an hour to come back from Paypal.

This is is just an observation from developing and testing IPN based solutions.

37
intosia
Re: donations not logging ipn transactions
  • 2005/10/11 16:12

  • intosia

  • Just popping in

  • Posts: 51

  • Since: 2005/7/23


Quote:

McNaz wrote:
Just to add my two pennies here.

Please bear in mind that Paypal's IPN network is not an instant notification method. IE. Don't expect to leave the "Payment Confirmed" page and get an IPN notification immediately on your site. Sometimes IPN takes over an hour to come back from Paypal.

This is is just an observation from developing and testing IPN based solutions.

ok duh :) But nothing EVER shows up.... If this a direct port from nuke, why doesnt it just work, like in nuke... ffs
Asian Chicks for Life! ^^

38
McNaz
Re: donations not logging ipn transactions
  • 2005/10/11 19:31

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Quote:

ok duh :) But nothing EVER shows up.... If this a direct port from nuke, why doesnt it just work, like in nuke... ffs


My advice. Adjust your attitude here as we are only trying to help.

39
intosia
Re: donations not logging ipn transactions
  • 2005/10/12 8:42

  • intosia

  • Just popping in

  • Posts: 51

  • Since: 2005/7/23


Quote:

McNaz wrote:
Quote:

ok duh :) But nothing EVER shows up.... If this a direct port from nuke, why doesnt it just work, like in nuke... ffs


My advice. Adjust your attitude here as we are only trying to help.

i understand that, but i just cant grasp why it doesnt work... It kinda pissis me off, u can understand that right?
Asian Chicks for Life! ^^

40
intel352
Re: donations not logging ipn transactions
  • 2005/10/28 16:03

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


it was a port from nuke, but then morphed a bit. the module needs maintenance to make sure it's 100% bug-free, but as an fyi, it works for many people, and is used on xoops.org (the block on the right)

Login

Who's Online

125 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 125


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits