Events Made Easy › Forums › How do I … › Update Paid Status
Tagged: IPN, payment notification, paypal
- This topic has 16 replies, 3 voices, and was last updated 9 years, 2 months ago by Anonymous.
-
AuthorPosts
-
Tue 7 Jul 2015 at 22:19 #54609AnonymousInactive
My users who have registered for an event and paid through PayPal are not showing as Paid in the backend. I added the payment notification link to the IPN field in my PayPal account. Am I missing something? There is no documentation I can find on how to link your PayPal account to the EME plugin so that it updates and confirms paid users.
Tue 7 Jul 2015 at 22:20 #54610AnonymousInactiveThis is what I see when I look at my access logs:
[Tue Jul 07 03:20:43 2015] "POST /calendar/events/?eme_eventAction=paypal_notification HTTP/1.0" 200 0 "-" "PayPal IPN ( https://www.paypal.com/ipn )"
Wed 8 Jul 2015 at 23:00 #54611FrankyKeymasterThis seems to be ok to me, and the return code too. So the paid status should get updated …
If not, you should try to capture the whole post request to see what happens.
Or you can activate logging by changing the following lines in eme_payments.php, lines 576 and following:$ipn->log_to_file = false; // write logs to file
$ipn->log_filename = ‘/path/to/ipn.log’; // the log filename (should NOT be web accessible and should be writable)// log to e-mail options
$ipn->log_to_email = false; // send logs by e-mail
$ipn->log_email = ”; // where you want to receive the logs
$ipn->log_subject = ‘IPN Log: ‘; // prefix for the e-mail subjectSet to ‘true’ for either filebased and/or email logging and change the other variables accordingly.
Wed 29 Jul 2015 at 18:23 #54721AnonymousInactiveI changed both the logo to file and log to email options. Nothing writes to the log file and nothing sends to the email I specified.
Is there any way you can help me figure this out? I need paid users to be confirmed.
Thanks,
AnnaWed 29 Jul 2015 at 20:10 #54722FrankyKeymasterThe file only gets written if the webserver has access to that file.
The email only gets sent if your php installation knows how to correctly send mail.
Both cases are beyond my control, these things should get fixed first.Wed 29 Jul 2015 at 20:13 #54723AnonymousInactiveThe log file has settings of: 733
Is that what you mean?Thu 30 Jul 2015 at 07:00 #54726FrankyKeymaster3 is not a valid permission. Try 777 to be sure.
Thu 30 Jul 2015 at 20:41 #54735AnonymousInactiveStill nothing. I changed settings to 777 and I’ve done test transactions to check and nothing logs.
Thu 30 Jul 2015 at 20:49 #54736FrankyKeymasterIf nothing logs, something else is wrong. You should check the webserver logfiles for possible hints. At paypal, you can also do tests towards your server to get logs.
But a small question: are you sure /calendar/events is the correct url for your events?Fri 31 Jul 2015 at 01:52 #54737AnonymousInactiveThe events page is a sub-page of the calendar page. It doesn’t really need to be that way though. Could that be messing it up? I do have it directing to the events page in the EME settings.
I really appreciate your help. Would it be possible to email you login info/logs?
Fri 31 Jul 2015 at 10:52 #54738FrankyKeymasterTry with a regular page (not subpage), maybe indeed there are issues. Also refresh your permalink settings.
I’m leaving on holidays for 2 weeks, so support from me will be minimal 🙂Sat 1 Aug 2015 at 00:49 #54739AnonymousInactiveUpdated both the events page to be a main page and the permalink settings. Nothing changed. Still doesn’t approve/update paid status. And nothing logs.
A few more questions.
1. In the PayPal documentation regarding adding IPN it talks about API access. Is that a setting I need to change? The documentation and my dashboard do not match so I wasn’t sure how to go about doing this. But this is the step I’m referring to:
2. Check your API settings. Click My selling tools. Expand “Selling online” if needed and check “API access.” Click Update and Add or edit API permission or View API signature.
2. Are there settings in my hosting or template I should be looking into?
3. Does it matter if the PayPal account is verified or unverified? My friend (who this is for) hasn’t linked her account to her bank which is required for a verified status.
I hope you enjoy your holiday! Thanks so much for your help thus far.
Sat 1 Aug 2015 at 00:55 #54740AnonymousInactiveDo I need to copy&paste the IPN listener script somewhere, or is that already on the URL I’m sending it to?
A step by step direction on how to link EME to PayPal would be so helpful. Lol.
Sat 1 Aug 2015 at 15:08 #54741FrankyKeymasterYou shouldn’t change any api settings AFAIK. But try the ipn tester : https://developer.paypal.com/developer/ipnSimulator
The ipn link to use can be found in the eme settings concerning PayPal.Tue 29 Sep 2015 at 19:11 #54908AnonymousInactiveI was able to fix the logging issue. Now I’m getting a warning:
.LOG
————————————————
———– [ 29/09/2015 12:59:01 ] ————
————————————————
WARNING: invalid IPN detectedIPN Values received:
————————————————
————————————————————————————————
———– [ 29/09/2015 13:01:56 ] ————
————————————————
WARNING: invalid IPN detectedIPN Values received:
————————————————
————————————————————————————————
———– [ 29/09/2015 13:02:17 ] ————
————————————————
WARNING: invalid IPN detectedIPN Values received:
————————————————
————————————————Wed 7 Oct 2015 at 17:09 #54958AnonymousInactiveHello jaonenla,
I’ve done this if you did not already.
On your PayPal account you choose “Preferences” and then “More Options” then “Instant Payment Notification Preferences” then in settings you copy and paste the URL that you will find in the settings EME Paypal. (Ex: http://www.yourdomaine.com/events/?eme_eventAction=paypal_notification)Wed 7 Oct 2015 at 23:40 #54960AnonymousInactiveThanks sleininger!
I did do that. The problem ended up being I had to use the server address instead of the URL in IPN.php and eme_payments.php.
/home/www/webaddress.com/wp-content/plugins/events-made-easy/ipn.log
I’m not sure how that worked, but it seems to be processing correctly now.
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.