Author |
Message |
manoe
Client

Joined: Aug 14, 2005
Posts: 151
|
Posted:
Mon Aug 29, 2005 9:11 am |
|
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! |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Mon Aug 29, 2005 10:00 am |
|
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! |
|
|
 |
manoe

|
Posted:
Mon Aug 29, 2005 10:01 am |
|
Nothing is showing up once the payments are made. I do not understand why. |
|
|
|
 |
kguske

|
Posted:
Mon Aug 29, 2005 10:31 am |
|
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

|
Posted:
Mon Aug 29, 2005 10:35 am |
|
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

|
Posted:
Mon Aug 29, 2005 10:38 am |
|
|
|
 |
kguske

|
Posted:
Mon Aug 29, 2005 11:13 am |
|
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

|
Posted:
Mon Aug 29, 2005 11:16 am |
|
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.  |
|
|
|
 |
kguske

|
Posted:
Mon Aug 29, 2005 11:22 am |
|
Do you know if the donor sees a thank you message on your site? |
|
|
|
 |
manoe

|
Posted:
Mon Aug 29, 2005 11:23 am |
|
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

|
Posted:
Mon Aug 29, 2005 11:56 am |
|
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
|
Posted:
Mon Aug 29, 2005 12:54 pm |
|
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. |
|
|
 |
manoe

|
Posted:
Mon Aug 29, 2005 1:31 pm |
|
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

|
Posted:
Mon Aug 29, 2005 1:39 pm |
|
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

|
Posted:
Mon Aug 29, 2005 2:48 pm |
|
|
|
 |
64bitguy

|
Posted:
Mon Aug 29, 2005 3:12 pm |
|
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

|
Posted:
Mon Aug 29, 2005 3:22 pm |
|
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

|
Posted:
Mon Aug 29, 2005 3:27 pm |
|
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

|
Posted:
Mon Aug 29, 2005 3:27 pm |
|
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

|
Posted:
Mon Aug 29, 2005 3:28 pm |
|
Aha!
You have a different version of the module!
That would explain a lot.
Where did you get your version?
Steph |
|
|
|
 |
manoe

|
Posted:
Mon Aug 29, 2005 3:31 pm |
|
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

|
Posted:
Mon Aug 29, 2005 3:38 pm |
|
In that version, you would follow my instructions as posted at my domain.
Only the file name is admin/modules/treasury.php
Steph |
|
|
|
 |
manoe

|
Posted:
Mon Aug 29, 2005 3:39 pm |
|
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

|
Posted:
Mon Aug 29, 2005 3:57 pm |
|
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

|
Posted:
Mon Aug 29, 2005 3:58 pm |
|
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. |
|
|
|
 |
|