1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Please check your server that handles PayPal Instant Payment Notifications

Discussion in 'Troubleshooting and Problems' started by Ivar, Dec 13, 2013.

  1. Ivar

    Ivar Member

    Hi there,

    I am using PayPal for User Upgrades. Everything seems to work just fine, the payments go through just fine and the user is upgraded correctly. But still, I am getting these e-mails from PayPal with regular intervals:

    At first I did not take any notice, since everything worked. But after about 10 days or receiving these notifications (one every 2-3 days). PayPal turned off IPN, and upgrades stopped working. I went in and turned it on again, and now it works.. but payPal has started sending me these e-mails again... so something does not seem to be right.

    From what I have read, the payback url is not used in Xenforo, but it is required in PayPal to be able to turn on IPN (see below).

    Screen Shot 2013-12-13 at 08.56.46.png

  2. Brogan

    Brogan XenForo Moderator Staff Member

    The IPN isn't required as the URL provided by XenForo will override it.
    However, you can try adding <domain>/payment_callback.php to the field to see if that helps.

    Also, double check your Board URL is correct.
  3. Ivar

    Ivar Member

    Should I then also move the payment_callback.php file to the root?
    (It is now located in the forum root here: http://www.caminodesantiago.me/community/payment_callback.php )
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The file should be located wherever the software is installed.
    Enter the URL in PayPal according to that.
  5. Ivar

    Ivar Member

    Ok, that is what I have been doing from day 1.... but it is giving me this problem, that is why I posted the question.

    Just to clarify.

    Just checked, and my board url is correct in admin.

    My site, wordpress in the root:

    Xenforo in a folder:

    ...so the payment callback file should be here:

    An this is where it is. But PayPal still send me these messages + disables IPN (see above).
    Last edited: Dec 13, 2013
  6. Mike

    Mike XenForo Developer Staff Member

    Have a look at the xf_user_upgrade_log table in the database. Aside from some "request not validated" entries that you probably got since posting this, look at the transaction_type and message rows. Are you seeing a lot of "error" types? If so, what's the message?
  7. Ivar

    Ivar Member

    Just had a look and I see a lot of "Invalid business or receiver_email" error messages...

    I checked my "PayPal Primary Account Email" in Xenforo admin and it is correct. (I have been receiving payments just fine, so it has to be correct)

    I checked the account type I have with PayPal and it is "Account Type: Premier".

    So it looks like it is related to "Invalid Business"? (not sure what the requirement is)... will have a look around PayPal, if you have any ideas would be great to hear them..

    Thanks for your help!
  8. Mike

    Mike XenForo Developer Staff Member

    That's the email address that PayPal reports back to us (it's sent as business or receiver_email parameters). The expected value is in there, though it's going to be hard to read unless you know what you're looking for. If you can submit a ticket and provide phpMyAdmin details, I can tell you what PP is sending through there.
  9. Ivar

    Ivar Member


    Could it be done by exporting this table to a .sql file? (I am a bit hesitant to give out/send my phpMyAdmin details)
  10. Mike

    Mike XenForo Developer Staff Member

    Yeah, that's fine as well.
    Ivar likes this.
  11. Bram

    Bram Well-Known Member

    I am getting these notifications from time to time as well. Changed the URL to the root without success. The last week all user upgrades have to be performed by hand.
  12. Mike

    Mike XenForo Developer Staff Member

    You should look at the errors logged in the upgrade transaction log then.
  13. Bram

    Bram Well-Known Member

    The transaction log stopped logging after monday it seems.

    Notice some weird stuff though. Also payments i have made via paypal can be seen in this transaction log (see my ip there).

    For the rest I see no entries anymore after 22nd of august. Any clue what that can be as there have been userupgrades since that date that I have manually processed now.
  14. Mike

    Mike XenForo Developer Staff Member

Share This Page