XF 1.0 User Account Upgrade error with Paypal

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:
    66.211.170.66 - - [28/Oct/2011:10:23:31 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-"
    66.211.170.66 - - [28/Oct/2011:10:23:44 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-"
    66.211.170.66 - - [28/Oct/2011:10:24:06 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-"
    66.211.170.66 - - [28/Oct/2011:10:24:48 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-"
    66.211.170.66 - - [28/Oct/2011:10:26:09 -0500] "POST /community/payment_callback.php HTTP/1.0" 500 16 "-" "-"
    66.211.170.66 - - [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'.

paypal-IPN.png

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

Mike

XenForo developer
Staff 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.
Look at the "business" field that is sent through - that's what we check against.
 

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.
 
Top