Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
manoe
Client



Joined: Aug 14, 2005
Posts: 151

PostPosted: Mon Aug 29, 2005 9:11 am Reply with quote

Is anyone able to help me with this problem? I would be willing to give you access to my admin even. I cant get this working and I really am a beginner with PHP...

I would definately Donate fund your way Raven if you can jump in and help me here. I will be waiting an answer.

Oh here is the test that I ran. It too is in debug mode.


--------------------------------------------------------
Debug mode activated

PHP-Nuke Treasury mod

Yes, I know there is already a thread on this but noone has posted on it since last week. As I have stated, if Raven could reccomend anyone that would actually fix this on my site I would really appreciate it. I have given up. I have no knowledge of PHP or sql and its kicking my arse. I will donate to your site Raven for some assistance on this.




PayPal Instant Payment Notification script

See below for status:
----------------------------------------------------------------
Connection to db - OK!
Opening connection and validating request with PayPal...
OK!
Selecting database...OK!
Executing test query...PASSED!
PayPal Receiver Email: armedwarriorsonline@hotmail.comLogging events


----------------------------------------------------------------
If you don't see any error messages, you should be good to go!
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Mon Aug 29, 2005 10:00 am Reply with quote

According to this, everything looks fine. What is the problem?

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
manoe







PostPosted: Mon Aug 29, 2005 10:01 am Reply with quote

Nothing is showing up once the payments are made. I do not understand why.
 
kguske







PostPosted: Mon Aug 29, 2005 10:31 am Reply with quote

Did you set up the IPN configuration in your PayPal account? This must be done so that PayPal knows to update your site. There are instructions in the Nuke Treasury download for setting this up.
 
manoe







PostPosted: Mon Aug 29, 2005 10:35 am Reply with quote

Yes, I went to paypal and added the IP for the IPN. I double checked this with the guy that installed it for me and he said its right. All he could tell me is talk to the developers. It looks like everything is correct. I dont understand why it will not update the IPN Reconcile. I try that and I get "There are no new IPN records to import!"...

The module and block are on and set for all to see. I entered the IPN in paypal... Is there any other way to test the IPN in paypal to make sure its correct?
 
manoe







PostPosted: Mon Aug 29, 2005 10:38 am Reply with quote

http://armedwarriorsonline.com/nuke/modules/Donations/ipn/ipnppd.php

that is the url in the paypal IPN. I will have to check this myself since so far it has only been verified by the tech who installed it for me.
 
kguske







PostPosted: Mon Aug 29, 2005 11:13 am Reply with quote

Your account at PayPal.com must be configured to point back to your ipnppd.php file. If your PayPal account isn't configured to use IPN or the IPN isn't defined in your PayPal profile, PayPal has no way of knowing that it needs to update anything on your website.

Login to your account at PayPal.com. Then click My Account, Profile, Instant Payment Notification Preferences.

Does it show something like:

Payment Notification (IPN) On
Instant Payment Notification (IPN) URL: http://armedwarriorsonline.com/nuke/modules/Donations/ipn/ipnppd.php
 
manoe







PostPosted: Mon Aug 29, 2005 11:16 am Reply with quote

I said that very thing in the post above yours. It is exactly like you posted. On as well.

I also verfied that structure is there. I have no idea whats wrong. Sad
 
kguske







PostPosted: Mon Aug 29, 2005 11:22 am Reply with quote

Do you know if the donor sees a thank you message on your site?
 
manoe







PostPosted: Mon Aug 29, 2005 11:23 am Reply with quote

I did not. Now, the one thing that I know I have not set up yet is the thank you page and the other page it talks about. I did not think those would matter as far as all of the IPN stuff and the site seeing the transactions.
 
kguske







PostPosted: Mon Aug 29, 2005 11:56 am Reply with quote

I ask because I want to make sure PayPal can reach the IPN page on your site. It's possible that your host might be blocking it somehow.
 
64bitguy
The Mouse Is Extension Of Arm



Joined: Mar 06, 2004
Posts: 1164

PostPosted: Mon Aug 29, 2005 12:54 pm Reply with quote

One thing that is critical is that the PRIMARY email of the PayPal account MATCHES EXACTLY the email address that you have defined in the module. If you have more than 1 email account in the PayPal, remember, you can't just use any of them, you MUST use ONLY the primary PayPal account.

_________________
Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. 
View user's profile Send private message
manoe







PostPosted: Mon Aug 29, 2005 1:31 pm Reply with quote

armedwarriorsonline@hotmail.com is used in paypal. This paypal account was created specifically for this job. It is the only email on the paypal account. It is correct on the module as well.
 
64bitguy







PostPosted: Mon Aug 29, 2005 1:39 pm Reply with quote

Try this:

Your Donations Module configuration code should have:
Code:
http://armedwarriorsonline.com/nuke/modules.php?name=Donations&ipnppd=1


And your PayPal IPN should have:
Code:
http://armedwarriorsonline.com/nuke/modules.php?name=Donations&ipnppd=1


PLEASE NOTE: This will not reconcile existing purchases, but should work on all future ones.

Steph
 
manoe







PostPosted: Mon Aug 29, 2005 2:48 pm Reply with quote

physically add these lines to where I have this?
http://armedwarriorsonline.com/nuke/modules/Donations/ipn/ipnppd.php


also, how do I change this under the IPN logging options? It will not let me add this in place of the one that is there now.. see above.
 
64bitguy







PostPosted: Mon Aug 29, 2005 3:12 pm Reply with quote

Open your /modules/Donations/admin/index.php file.

Around line 755 find:
Code:
echo "<td title =\"$desc\" bgcolor=\"$bgcolor2\" align=\"right\"><b>lIPN link for PayPa</b></td>";


On the next line, it probably look something like this:
Code:
      echo "<td title =\"$desc\" align=\"left\"> $nukeurl/modules/Donations/ipn/ipnppd<a href=\"modules/Donations/ipn/ipnppd=1&dbg=1\" target=\"_blank\"><b><i>Click here to test IPN</i></b></a></td>";


Change that to be:
Quote:
echo "<td title =\"$desc\" align=\"left\"> $nukeurl/modules.php?name=Donations&ipnppd=1 <a href=\"donations.html?ipnppd=1&dbg=1\" target=\"_blank\"><b><i>Click here to test IPN</i></b></a></td>";


In the PayPal screen, click on My Account, and then in the right column, click on "Instant Payment Notification Preferences" then click on "Edit" to change the value.

NOTE: DO NOT POST THAT CODE I HAVE IN THERE. THERE IS A BUG HERE AT RAVEN'S PREVENTING THE PROPER CODE FROM BEING DISPLAYED!
 
manoe







PostPosted: Mon Aug 29, 2005 3:22 pm Reply with quote

ok this is odd.

I am connecting using FTP to pull the file to edit and I do not have an admin folder in my Donations directory. I have an ipn folder and 5 other files. index.php is one of them but I only go to the mid 300s in line values.
 
64bitguy







PostPosted: Mon Aug 29, 2005 3:27 pm Reply with quote

Unfortunately there is a bug here preventing those "code" and "quote" functions from properly showing the contents.

Please see this post: http://64bit.us/ftopicp-416.html
 
manoe







PostPosted: Mon Aug 29, 2005 3:27 pm Reply with quote

Tell me this isnt coming down to them not installing it correctly... Everyting is showing up so I dont know how that could be the case. arrrrgh!@

maybe kguske will have some luck looking at my settings.

I hope hehe
 
64bitguy







PostPosted: Mon Aug 29, 2005 3:28 pm Reply with quote

Aha!

You have a different version of the module!

That would explain a lot.

Where did you get your version?

Steph
 
manoe







PostPosted: Mon Aug 29, 2005 3:31 pm Reply with quote

I am almost positive I got that here. It was 1.1 I am almost positive.. I will have to verify.


Argh I cant find a version number lol.. I do know that the config.php was misnamed as your forums here described and we had to rename it.

I am pretty sure I got that version here.
 
64bitguy







PostPosted: Mon Aug 29, 2005 3:38 pm Reply with quote

In that version, you would follow my instructions as posted at my domain.

Only the file name is admin/modules/treasury.php

Steph
 
manoe







PostPosted: Mon Aug 29, 2005 3:39 pm Reply with quote

Changed the line and its still not seeing the transactions on the site. I also updated the paypal IPN url.

At this point I am going to wait until he logs into my Cpanel tonight and takes a look around. I will be back online around 9 pm central time tonight. Thanks for all your help so far.. any other ideas I will be sure to try out.
 
64bitguy







PostPosted: Mon Aug 29, 2005 3:57 pm Reply with quote

As I said, once you make that change IT WILL NOT reconcile existing purchases; however, it WILL reconcile and log all future purchases from that point on.

Steph
 
manoe







PostPosted: Mon Aug 29, 2005 3:58 pm Reply with quote

ok this is freaking odd. I changed that line of code as you directed.. Now instead of it giving that code like before when i ran the test it simply takes me to the donation screen???? I dont understand that one at all.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©