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

XF 1.4 User Upgrade Not Upgrading

majesty95

Active member
#1
I have two members who have purchased user upgrades yet neither of them have been upgraded to the new user group. When I view their account in ACP they are only showing as registered members. They should have an additional "premium member" user group which takes priority in user styling. What would be causing the account upgraded to not apply the premium user group after upgrading? I have in fact verified that PayPal received the funds and it has cleared so there is no reason that they should not have upgraded...

User Upgrades.png
 

Mike

XenForo developer
Staff member
#3
If there's nothing in the transaction log, then that's the cause. Are you sure IPNs are enabled in PayPal?
 

majesty95

Active member
#4
If there's nothing in the transaction log, then that's the cause. Are you sure IPNs are enabled in PayPal?
They clicked the account upgrades which brought them to Paypal and the money is there. This was working last year before upgrading to 1.4. Not sure why it would be different now. I have not switched anything at Paypal.
 

Mike

XenForo developer
Staff member
#5
Can you double check the IPN settings in PayPal? The ability for someone to pay for the upgrade is independent of this being abled. It can get disabled, especially if there are failures (PayPal contacts you before this happens though). There's also an IPN history that can show whether they were sent and to confirm the URL they were sent.

The exact path into this may vary based on which PayPal UI you're getting, but it should be within your account or seller settings.
 

majesty95

Active member
#6
Can you double check the IPN settings in PayPal? The ability for someone to pay for the upgrade is independent of this being abled. It can get disabled, especially if there are failures (PayPal contacts you before this happens though). There's also an IPN history that can show whether they were sent and to confirm the URL they were sent.

The exact path into this may vary based on which PayPal UI you're getting, but it should be within your account or seller settings.
Ok, so strangely it was turned off and also had an old website URL of mine. Like I said, it worked correctly last year for at least one user on the current site. I updated it to myboardurl/payment_callback.php. and used the IPN simulator but am getting a "something went wrong with the URL" error.
 

majesty95

Active member
#9
Do you use www in your website URL? Do you use http or https on your site?

What do you see if you navigate directly to http://yoursite.com/payment_callback.php?
I do not use http:// on my site by default. However, I entered it with the http:// which PayPal told me I needed, and the site (browser) removed it and brought me to a page that said "request not validated". When I copy and paste that link it adds the http://. I do nto know if that makes a difference.

PayPal said that there was an issue with the IPN simulator which is why I was getting an HTTP error. Not sure if that would have an impact on this or not?
 

majesty95

Active member
#11
Here's another question, my forum is set up /forums. However, the main webpage is still part of the forum as I'm using Brogan's CTA add on to create the main page. Does myboardurl or myboardurl/forums make a difference in this?
 

Martok

Well-known member
#12
I do not use http:// on my site by default. However, I entered it with the http:// which PayPal told me I needed, and the site (browser) removed it
You do use http://. All sites use this or https://. Some browsers just hide this part of the URL.

Here's another question, my forum is set up /forums. However, the main webpage is still part of the forum as I'm using Brogan's CTA add on to create the main page. Does myboardurl or myboardurl/forums make a difference in this?
Your site URL is only /forums if it is installed in a forums directory. If it's in the root, it's http://myboardurl.

I use CTA Featured Threads. My site URL is in my signature, this takes you to my home page. /forums isn't the site URL as I have my site installed in the root.
 

Mike

XenForo developer
Staff member
#13
If IPNs are enabled in PayPal, it should now work for future payments. The URL given to PayPal is generated by XenForo, but IPNs do need to be enabled within PayPal for that option to be accepted. You can do a quick test purchase for yourself if you want to confirm this. It likely won't apply to previous payments, so you will want to use the "manually upgrade user" option (found on the upgrade list in the control panel) to upgrade those users.
 

majesty95

Active member
#14
If IPNs are enabled in PayPal, it should now work for future payments. The URL given to PayPal is generated by XenForo, but IPNs do need to be enabled within PayPal for that option to be accepted. You can do a quick test purchase for yourself if you want to confirm this. It likely won't apply to previous payments, so you will want to use the "manually upgrade user" option (found on the upgrade list in the control panel) to upgrade those users.
So I tested and it is working now, at least for monthly and yearly upgrade. I have a member trying to do a semi-annual upgrade and keeps getting the following message:

Sorry - your last action could not be completed

If you were making a purchase or sending money, we recommend that you check both your PayPal account and your email for a transaction confirmation after 30 minutes.

If you came to this page from another website, please return to that site (don't use your browser's Back button) and restart your activity.

If you came from PayPal's website, click the PayPal logo in the upper-left corner to return to our home page and restart your activity. You might have to log in again.
 

Mike

XenForo developer
Staff member
#15
Unfortunately, that would likely be an issue internal to PayPal and not one we can really influence.