![]() |
SSL subscription issue
Dear support,
I've been subscription on my forum http://removed and everything was fine , but now I've moved into SSL https://removed the subscription is no more working , even when someone pay using paypal and receive the money , his usergroup doesn't change ( it should show a subscriber badge and change his name color and allow the member to show private sections) so I guess it's SSL issue , or may be because we're using cloudflare now , it may cause the issue too. I will be waiting your suggestion , thanks |
I really cannot see how either cloud flare or ssl would impact usergroup change if the subscriptions are going through.
Did you try to change back to using http:// just to see if it is indeed the issue? |
Don't paypal payments depend on paypal connecting back to payment_gateway.php? It could be that it can't make an https connection for some reason. Going back to http like RichieBoy67 suggested sounds like a good test.
|
Check your settings at PayPal and make sure your return url is not set to http.
|
Yeah he said the payments are going through but I guess it makes sense if the payment goes through then the site is not getting the response. That could cause the promo not to work.
i agree to check your Paypal settings for the site url. |
Quote:
|
Quote:
|
Quote:
https://vborg.vbsupport.ru/external/2015/01/41.png --------------- Added [DATE]1420483489[/DATE] at [TIME]1420483489[/TIME] --------------- Do I have to change something on cookies and HTTP header options? --------------- Added [DATE]1420483714[/DATE] at [TIME]1420483714[/TIME] --------------- also I've this enabled (even I think it doesn't have anything to do with the issue) https://vborg.vbsupport.ru/external/2015/01/42.png |
Quote:
|
Quote:
|
Quote:
|
The Payment API tests in the admincp only check to see if your server can connect to paypal, and not the other way around. I don't know the details of how the payment system works so I don't know if it always connects the other way (paypal to your server) or what happens if it can't.
It looks to me like the url that paypal should connect to is sent with the initial communication, so that's probably why you never had to set that. The code uses the bburl setting which you've no doubt changed to https already (It's "Forum URL" in the settings"), so I doubt that's it. But there could be other issues with SSL. This is all speculation and I know it doesn't help much. |
Sometimes in PayPal you HAVE to set that URL. Or at least it makes it where you do not have any problems in the future. PayPal is sometimes tricky and will do really strange things for no reason.
|
Quote:
Image Removed --------------- Added [DATE]1420489769[/DATE] at [TIME]1420489769[/TIME] --------------- Quote:
https://vborg.vbsupport.ru/external/2015/01/40.png |
Login go to Merchant Services > Process Orders > Instant Payment Notification click the link below that heading. Mine is labeled "Learn More" Then you will set your IPN to be your https url and save there. I "think" that is the only place you change it, its been quite awhile since I've played in there.
EDIT: just saw your edited post yeah you can try to change it there as well. But that is the URL that PayPal will return you to after a payment has been made. So in effect what that does is if you have a custom page that says thanks for the donation/payment etc then you use that page as the return URL. It really should have no bearing on your usergroups having problems. |
Quote:
Image Removed --------------- Added [DATE]1420497310[/DATE] at [TIME]1420497310[/TIME] --------------- EDIT: after testing , still not working , usergroup doesn't change , even that I've received the money --------------- Added [DATE]1420497420[/DATE] at [TIME]1420497420[/TIME] --------------- Quote:
|
Wouldn't the url be https://removed.com/payment_gateway.php?method=paypal ?
ETA: actually, from the developers docs: Quote:
I don't know anything about cloudflare, but is it possible to temporarily turn it off to see if that makes any difference? |
Check out, your server's access logs and see if it is actually trying to access your site, should look something like this, 123.0.21.3 - - [28/Aug/2012:21:29:57 +0100] "POST /payment_gateway.php HTTP/1.0" 200 - "-" "-", and then check your sites error log and see if you see something like this, [Tue Aug 28 21:29:57 2012] [error] [client 123.0.21.3] client denied by server configuration:
|
Quote:
also even after pausing cloudflare it didn't work , so I really don't know :( . --------------- Added [DATE]1420509588[/DATE] at [TIME]1420509588[/TIME] --------------- Quote:
https://vborg.vbsupport.ru/external/2015/01/38.png https://vborg.vbsupport.ru/external/2015/01/39.png https://vborg.vbsupport.ru/external/2015/01/35.png |
In setting up paid subscriptions for the first time there is a lot that can go wrong. A common problem is that payments are received but vBulletin doesn't register the payment and doesn't change the user's group memberships appropriately. Here are several things you can check based on my experience troubleshooting these problems.
1) Make sure your paypal emails are correct and that they are entered exactly the same as in your paypal account. Note that these emails are known to be case sensitive: Admin CP -> Paid Subscriptions -> Payment API Manager -> Edit 2) Make sure the test communication is working: Admin CP -> Paid Subscriptions -> Test Communication 3) Make sure you heed the warnings on this page: http://www.vbulletin.com/docs/html/m...scriptions_add Quote:
4) Make sure your forum directory is not behind a htaccess login because that will prevent paypal from accessing the callback URL. 5) Make sure your forum URL is correct as that is used to build the callback URL: Admin CP -> vBulletin Options -> Site Name / URL / Contact Details -> Forum URL If this is your forum: http://www.vbulletin.com/forum/ ...then the forum URL should be set to: http://www.vbulletin.com/forum (no ending slash) 6) And if you are specifying the IPN URL in your paypal account then make sure that is correct. If this is your forum: http://www.vbulletin.com/forum/ Then the IPN URL should be: http://www.vbulletin.com/forum/payment_gateway.php?method=paypal 7) Login to paypal.com and make sure you are actually receiving the money from the purchases. Make sure the transactions are marked as "completed." Also, make sure your paypal account is not configured to require your approval for incoming payments. Otherwise the payments won't complete until you approve them. __________ If it still doesn't work then it might be due to some customizations on your forum. You can determine this by temporarily removing your customizations to see if the problems goes away. Try to reproduce it on a default style: Admin CP -> Styles & Templates -> Style Manager -> [Add New Style] Create a new style with no parent. Then click that style's name in the Style Manager to view your forum with that style. If you still have the problem then try disabling your plugins: Admin CP -> vBulletin Options -> Plugin/Hook System Also run a file check to look for customized files: Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions |
Quote:
Code:
<input type="hidden" name="notify_url" value="{vb:raw vboptions.bburl}/payment_gateway.php?method=paypal" /> |
Quote:
|
Here's some information on setting up paypal: http://www.vbulletin.com/forum/forum...k-these-things
|
Quote:
Sometimes though you need to enter your site URL to receive the Instant Payment Notification. Why, I don't know. Some sites have to set it up, some sites don't. I went through all this crap when setting up vBDonate when I was at DBTech. So line I had said, if you are not getting the expected results when someone pays, you start there. Then you check out, your server's access logs and see if it is actually trying to access your site, should look something like this, 123.0.21.3 - - [28/Aug/2012:21:29:57 +0100] "POST /payment_gateway.php HTTP/1.0" 200 - "-" "-", and then check your sites error log and see if you see something like this, [Tue Aug 28 21:29:57 2012] [error] [client 123.0.21.3] client denied by server configuration: While doing vBDonate, to make it even easier to track issues, the SandBox ability was added to the mod, in order to put the system into test mode, so you could do full transactions in a testing environment, to trace down the potential issues. |
Quote:
|
Quote:
|
It's cool Kevin, the more eyes on everything, the better. :)
|
Are you using CloudFlare Free SSL, or do you actually have a Paid SSL Certificate? I pay yearly for a Comodo Wildcard SSL certificate, and my vB forum works perfectly fine with cloudflare and SSL.
|
Also to elaborate on Ozzy's post. When putting in your paypal email address use the "PRIMARY" payment email address on your account. If you have more than one email account on your paypal and you put an address that is not the primary address you do sometimes get problems in vBulletin.
|
Quote:
6) And if you are specifying the IPN URL in your paypal account then make sure that is correct. If this is your forum: http://www.vbulletin.com/forum/ Then the IPN URL should be: http://www.vbulletin.com/forum/payme...?method=paypal Also all the mentioned things are already made and didn't change anything , the only thing that I didn't get is this one, would you explain it more: 4) Make sure your forum directory is not behind a htaccess login because that will prevent paypal from accessing the callback URL. |
No, all you need is your main site url in the IPN settings. Also did you check your logs like I asked?
|
Quote:
http://www.vbulletin.org/forum/showt...t=point+system and it's working with paypal , people can actually buy coins using their paypal , so the forum does get paypal requests even without setting this IPN thing , so I really don't know why it's only the subscriptions that are No more working , it has been working fine with HTTP , and the point system was working with HTTP and still working with HTTPS , so what is the problem :( ? |
Did you check your http access logs? Its really important.
|
Quote:
Any way to set up something like a .htaccess to allow access to just the payment_gateway.php via http? I'm not a server admin person so I don't know how hard that would be. Edit: oh, actually, now that I think about it a little more, if you only have a few of those it could just be someone other than paypal accessing that script (I think I did it myself at least a couple of times). So maybe you still need to be looking at whether or not paypal is connecting to your server. |
Quote:
Quote:
|
Quote:
|
Quote:
|
That is something you would have to ask your host where those logs are.
|
Quote:
|
Yeah you may not find your logs via FTP, most hosts do not have them placed there were they can easily be downloaded. You can usually view them in cPanel if you have that or possibly Plesk although I do not remember at the moment. Your host will know exactly where you should view them. Its usually not something that you have to have installed, usually with most hosts its already there but it may depend on your web host.
|
All times are GMT. The time now is 03:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|