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

XF 1.0 User Account Upgrade error with Paypal

Discussion in 'Troubleshooting and Problems' started by Jesepi, Oct 28, 2011.

  1. Jesepi

    Jesepi Well-Known Member

    I'm having an issue where users are not being upgraded after submitting payment to paypal. I've looked in the xf_user_upgrade_log table to see what is going on, and the error returned is 'Invalid business'

    Doublechecking the receiver_email in the transaction details field, it matches up with what I have specified in xenforo, as well as what I have listed as the primary email in the paypal account.

    I've also switched to enabled IPN notifications, with the notification url specified as the payment_callback.php file in the forum's root folder. I get a "Request not validated error" when accessing it myself, so I know the URL is correct.

    My server access logs show:

    Code: - - [28/Oct/2011:10:23:31 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-" - - [28/Oct/2011:10:23:44 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-" - - [28/Oct/2011:10:24:06 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-" - - [28/Oct/2011:10:24:48 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-" - - [28/Oct/2011:10:26:09 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-" - - [28/Oct/2011:10:28:52 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-"
    Paypal is also reporting 3 entries for this user trying to upgrade. Two have a status code of 200, and is marked as 'sent.' The last is the one with the 500 status code, with a status of 'retrying'.


    Any suggestions on what might need to be adjusted for this to start working?
  2. Mike

    Mike XenForo Developer Staff Member

    Look at the "business" field that is sent through - that's what we check against.
    Jesepi likes this.
  3. Jesepi

    Jesepi Well-Known Member

    Thanks, I didn't actually see that the few times I looked. It has one of my non-primary addresses in the field. I'll try switching it and see if that fixes the issue.

Share This Page