PDA

View Full Version : SSL subscription issue


angemon
01-05-2015, 01:49 PM
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

RichieBoy67
01-05-2015, 02:05 PM
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?

kh99
01-05-2015, 02:46 PM
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.

ozzy47
01-05-2015, 02:51 PM
Check your settings at PayPal and make sure your return url is not set to http.

RichieBoy67
01-05-2015, 02:54 PM
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.

angemon
01-05-2015, 03:24 PM
Check your settings at PayPal and make sure your return url is not set to http.

Where can I set that ? Since I haven't set anything the first time on my PayPal , i've simply added my paypal email on vbulletin subscription panel.

RichieBoy67
01-05-2015, 03:27 PM
Where can I set that ? Since I haven't set anything the first time on my PayPal , i've simply added my paypal email on vbulletin subscription panel.

What happens when you go into subscription manager and click test communication?

angemon
01-05-2015, 04:04 PM
What happens when you go into subscription manager and click test communication?
It passes
https://vborg.vbsupport.ru/external/2015/01/41.png

--------------- Added 1420483489 at 1420483489 ---------------

Do I have to change something on cookies and HTTP header options?

--------------- Added 1420483714 at 1420483714 ---------------

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

HM666
01-05-2015, 05:52 PM
Where can I set that ? Since I haven't set anything the first time on my PayPal , i've simply added my paypal email on vbulletin subscription panel.

What he is talking about is you will need to login to your PayPal account and make sure that your URL is not set to http but https instead. Once you make that change it should be fine.

angemon
01-05-2015, 06:13 PM
What he is talking about is you will need to login to your PayPal account and make sure that your URL is not set to http but https instead. Once you make that change it should be fine.
what I'm asking too is where to find that in my paypal account , since I haven't add any website in my paypal account , so where can I find links so I can change it from http to https

HM666
01-05-2015, 06:16 PM
what I'm asking too is where to find that in my paypal account , since I haven't add any website in my paypal account , so where can I find links so I can change it from http to https

Do you have the old PayPal layout or the new one?

kh99
01-05-2015, 06:21 PM
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.

HM666
01-05-2015, 06:24 PM
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.

angemon
01-05-2015, 06:26 PM
Do you have the old PayPal layout or the new one?
I had this look 2 years ago , still the same
Image Removed

--------------- Added 1420489769 at 1420489769 ---------------

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.

is it this one
https://vborg.vbsupport.ru/external/2015/01/40.png

HM666
01-05-2015, 06:36 PM
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.

angemon
01-05-2015, 07:47 PM
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.

Is it this one , I've just put my website link (it wasn't there) , are you sure that will solve the issue!?
Image Removed

--------------- Added 1420497310 at 1420497310 ---------------

EDIT: after testing , still not working , usergroup doesn't change , even that I've received the money

--------------- Added 1420497420 at 1420497420 ---------------

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.

EDIT: after testing , still not working , usergroup doesn't change , even that I've received the money

kh99
01-05-2015, 10:26 PM
Wouldn't the url be https://removed.com/payment_gateway.php?method=paypal ?

ETA: actually, from the developers docs:
Note: The IPN message will always be sent to your notification URL unless receiving IPNs have been disabled. Even though you have not enabled receiving IPN messages in your Profile or you have reset your preference by turning off IPN messages, PayPal still sends IPN messages to the notification URL you specify for a specific payment. IPN messages not sent because you disabled the preference in your Profile will appear in the IPN history when you enable receiving IPNs. After they appear in the history, you can choose whether or not to resend them.

So, since the vb code includes the URL for each specific payment, I would think you'd want to leave that setting at "Do Not Receive IPN Messages". Are you able to look in the IPN history they mention?

I don't know anything about cloudflare, but is it possible to temporarily turn it off to see if that makes any difference?

ozzy47
01-05-2015, 10:57 PM
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:

angemon
01-05-2015, 11:02 PM
Wouldn't the url be https://removed.com/payment_gateway.php?method=paypal ?

ETA: actually, from the developers docs:


So, since the vb code includes the URL for each specific payment, I would think you'd want to leave that setting at "Do Not Receive IPN Messages". Are you able to look in the IPN history they mention?

I don't know anything about cloudflare, but is it possible to temporarily turn it off to see if that makes any difference?

tried your suggestion , and still not working .
also even after pausing cloudflare it didn't work , so I really don't know :( .

--------------- Added 1420509588 at 1420509588 ---------------

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:
I haven't done yet what you told me , but I've just seen something weird on the transaction logs
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

ozzy47
01-06-2015, 12:09 AM
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

Warning:
Do not change the cost of a Subscription if a recurring payment is currently in use, these payments will fail to update.

Warning:
Do not set a Paypal subscription to greater than 100 days. Use the months or years options to set subscriptions greater than 100 days.
Also note that the duration of a paid subscription cannot exceed a time that would put the expiration date past the year 2037 as that is the highest complete year that can be represented by a 32 bit integer timestamp. PHP is currently limited to 32 bit integers.

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

ozzy47
01-06-2015, 12:48 AM
Wouldn't the url be https://removed.com/payment_gateway.php?method=paypal

That would be a no. All you need is the site URL. If you look in the template, the gateway is in a hidden field.

<input type="hidden" name="notify_url" value="{vb:raw vboptions.bburl}/payment_gateway.php?method=paypal" />

kh99
01-06-2015, 07:45 AM
That would be a no. All you need is the site URL. If you look in the template, the gateway is in a hidden field.

<input type="hidden" name="notify_url" value="{vb:raw vboptions.bburl}/payment_gateway.php?method=paypal" />

So you're saying that you know that Paypal will take the start of a URL that you enter at the site, then take the /payment_gateway.php?method=paypal part off what you specify in the request (it starts with {vb:raw vboptions.bburl}, which is your forum url, so that would have to be stripped off)? OK, I must have missed that when I read the docs. What I did read is that if you specify a notify_url, it will be called regardless of the settings in your paypal profile, but I might have misunderstood.

kh99
01-06-2015, 08:28 AM
Here's some information on setting up paypal: http://www.vbulletin.com/forum/forum/vbulletin-legacy-versions-products/legacy-vbulletin-versions/vbulletin-3-6-questions-problems-and-troubleshooting/261771-paid-subscriptions-not-working-check-these-things

ozzy47
01-06-2015, 09:46 AM
So you're saying that you know that Paypal will take the start of a URL that you enter at the site, then take the /payment_gateway.php?method=paypal part off what you specify in the request (it starts with {vb:raw vboptions.bburl}, which is your forum url, so that would have to be stripped off)? OK, I must have missed that when I read the docs. What I did read is that if you specify a notify_url, it will be called regardless of the settings in your paypal profile, but I might have misunderstood.

No. Look in the template, subscription_payment_paypal. All that info is passed along to PayPal when you submit to them.

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.

ozzy47
01-06-2015, 09:47 AM
Here's some information on setting up paypal: http://www.vbulletin.com/forum/forum/vbulletin-legacy-versions-products/legacy-vbulletin-versions/vbulletin-3-6-questions-problems-and-troubleshooting/261771-paid-subscriptions-not-working-check-these-things

Yes I mentioned all of it in this post https://vborg.vbsupport.ru/showpost.php?p=2530679&postcount=20

kh99
01-06-2015, 12:34 PM
Yes I mentioned all of it in this post https://vborg.vbsupport.ru/showpost.php?p=2530679&postcount=20

Oh yeah, that's the same post word for word. Sorry I wasted everyone's time by posting a link to it.

ozzy47
01-06-2015, 12:36 PM
It's cool Kevin, the more eyes on everything, the better. :)

thetechgenius
01-06-2015, 03:53 PM
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.

HM666
01-06-2015, 04:42 PM
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.

angemon
01-06-2015, 05:44 PM
That would be a no. All you need is the site URL. If you look in the template, the gateway is in a hidden field.

<input type="hidden" name="notify_url" value="{vb:raw vboptions.bburl}/payment_gateway.php?method=paypal" />

here you said NO it's only the website url that should be written , but in your first reply you told me to write in IPN the same thing @kh99 said.
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

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.

ozzy47
01-06-2015, 06:03 PM
No, all you need is your main site url in the IPN settings. Also did you check your logs like I asked?

angemon
01-06-2015, 06:14 PM
No, all you need is your main site url in the IPN settings. Also did you check your logs like I asked?
still nothing , by the way I need to tell you that I'm using this system in my forum
www.vbulletin.org/forum/showthread.php?t=232676&highlight=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 :( ?

Zachery
01-06-2015, 06:39 PM
Did you check your http access logs? Its really important.

kh99
01-06-2015, 07:21 PM
https://vborg.vbsupport.ru/external/2015/01/35.png

I looked at the code a little more and I believe that error message comes from paypal_gateway.php, which means you must be getting the IPN from paypal. When the IPN is received, the script connects to paypal and sends it back to verify it, and if that fails for some reason, you get authentification_failure. Unfortunately there isn't a lot more information. One thing it checks is the email address that you have when you set up paypal as a payment method, but since it was working before you went to https, unless you changed it, that's probably not it.

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.

ozzy47
01-06-2015, 08:18 PM
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.

I asked this in post #18 and no answer yet.

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:

Unless I missed the info in the posts somewhere.

kh99
01-06-2015, 08:26 PM
I asked this in post #18 and no answer yet.



Unless I missed the info in the posts somewhere.

Yes, I realize that. You've actually said it twice (well, three times now) and Zachery once. That's why I said still need to be looking....

angemon
01-06-2015, 09:07 PM
I asked this in post #18 and no answer yet.

Unless I missed the info in the posts somewhere.

I've been trying to look where to find the server logs , since I haven't setup error handler on the vbulletin option , and when I open my website using FTP I can't find the logs file which I always find in the root directory for my other websites (not vbulletin). So it will be great if you can tell me where to find that , and I've shown you some pictures for the paypal fails so I guess the server is not accepting paypal to log (just for buying subscription) , how to solve that !?

ozzy47
01-06-2015, 09:08 PM
That is something you would have to ask your host where those logs are.

angemon
01-06-2015, 09:51 PM
That is something you would have to ask your host where those logs are.
ok I'm contacting the hosting support , but let say I've checked the logs and found what you told me , so what is the solution for that !? so we can try it ?

HM666
01-06-2015, 09:56 PM
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.

ozzy47
01-06-2015, 10:02 PM
ok I'm contacting the hosting support , but let say I've checked the logs and found what you told me , so what is the solution for that !? so we can try it ?

It is all going to depend on the log entries, I can not give a blanket statement, nor list every single possibility. :)

angemon
01-07-2015, 12:58 PM
It is all going to depend on the log entries, I can not give a blanket statement, nor list every single possibility. :)

I've pmed you the Last 70 lines of a2s.in.access.log a2s.in.error.log

--------------- Added 1420651084 at 1420651084 ---------------

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.

I've a paid SSL Certificate , and me too I pay yearly for a Comodo SSL certificate.

--------------- Added 1420657916 at 1420657916 ---------------

It is all going to depend on the log entries, I can not give a blanket statement, nor list every single possibility. :)
have you got my pms , because I've been waiting for you reply the whole day :(

--------------- Added 1420665572 at 1420665572 ---------------

@ozzy47 seems to be busy , anyone else can help me here ? I can pm you my server logs if that will help

ozzy47
01-07-2015, 08:59 PM
have you got my pms , because I've been waiting for you reply the whole day :(

--------------- Added 07 Jan 2015 at 15:19 ---------------

@ozzy47 seems to be busy , anyone else can help me here ? I can pm you my server logs if that will help

Umm,
First off, it has not been the whole day. It has been 6 hours since you PM'd me.

Secondly, I did not ask you to send me a PM, you should post the logs in the thread so all users can help.

Third, I have a full time job and help people out here in my spare time, I do not get paid to provide support, nor did you pay for support.

Fourth, when you are asking for free help, a little patience is needed, as this site is ran by volunteers, that do this in their spare time.

Now with that out of the way, I am going out for a bit, and I can take a look at the logs when I get a chance. :)

kh99
01-07-2015, 09:01 PM
@ozzy47 seems to be busy , anyone else can help me here ? I can pm you my server logs if that will help

You can PM me the logs if you want, I'd be interested in looking at them.

ozzy47
01-07-2015, 09:31 PM
Looking over what you PM'd me, I see no attempts of PayPay in the access logs, or error logs.

I would ask your host what the issue is, as PayPal can find your site under HTTP, but not HTTPS

angemon
01-07-2015, 11:18 PM
Umm,
First off, it has not been the whole day. It has been 6 hours since you PM'd me.

Secondly, I did not ask you to send me a PM, you should post the logs in the thread so all users can help.

Third, I have a full time job and help people out here in my spare time, I do not get paid to provide support, nor did you pay for support.

Fourth, when you are asking for free help, a little patience is needed, as this site is ran by volunteers, that do this in their spare time.

Now with that out of the way, I am going out for a bit, and I can take a look at the logs when I get a chance. :)

sorry for bothering you , I've just seen that you're online at the time that I was waiting for you , you could simply tell me that you're busy and I can pm the logs for someone else , since I can't post the logs publicly due to security , I may get DDoss attacks easily since the website IP is shown in the logs

ozzy47
01-07-2015, 11:21 PM
Not a problem. I looked them over and said this in another post.

Looking over what you PM'd me, I see no attempts of PayPay in the access logs, or error logs.

I would ask your host what the issue is, as PayPal can find your site under HTTP, but not HTTPS

angemon
01-07-2015, 11:23 PM
Looking over what you PM'd me, I see no attempts of PayPay in the access logs, or error logs.

I would ask your host what the issue is, as PayPal can find your site under HTTP, but not HTTPS

if that's the case , why members can buy points using paypal and get the points !?

ozzy47
01-07-2015, 11:27 PM
Yeah I forgot about that. Perhaps ask PayPal,tell them when your site is under HTTP, it connects to the script, payment_gateway.php with no problems, but when you use HTTPS, it does not. As I see nothing in the logs that PayPal reached the server.

HM666
01-07-2015, 11:40 PM
sorry for bothering you , I've just seen that you're online at the time that I was waiting for you , you could simply tell me that you're busy and I can pm the logs for someone else , since I can't post the logs publicly due to security , I may get DDoss attacks easily since the website IP is shown in the logs

Keep in mind that if you see a member online they actually might NOT be online. vBulletin has a built in time delay for showing the users in the WGO area. The delay is 15 minutes so just because you see someone online they may not actually be there they might have been there 10 minutes ago.

ozzy47
01-07-2015, 11:42 PM
Keep in mind that if you see a member online they actually might NOT be online. vBulletin has a built in time delay for showing the users in the WGO area. The delay is 15 minutes so just because you see someone online they may not actually be there they might have been there 10 minutes ago.

Actually, the only time I am not showing as online is when I loose power. My pc is on 24/7 and I always have a vB.org tab open.

HM666
01-08-2015, 05:36 AM
LOL mine is on 24/7 too but I do not stay on vb.org. :)

cellarius
01-08-2015, 05:53 AM
Actually, the only time I am not showing as online is when I loose power. My pc is on 24/7 and I always have a vB.org tab open.
Which would not prevent your session to time out, would it? As long as you don't do anything, just having the tab open won't keep you "alive", I think.

HM666
01-08-2015, 06:49 AM
Which would not prevent your session to time out, would it? As long as you don't do anything, just having the tab open won't keep you "alive", I think.

Yeah in that case I would think it would although I've come on here and he was not on. But that may have been because he lost power as he said. I was simply stating that about the 15 minutes to the OP since he was waiting on pins and needles lol. Sometimes people do not realize that there is a 15 minute lag if they are new to vB or they are just not aware of it.

cellarius
01-08-2015, 07:18 AM
Nah, I totally agree with that. People really need to have some patience. Even if Ozz was around, he's fully in his rights to do other things first as he sees fit - after all, there's no priority support around here. And expecting him to sort of check out first after a unasked for pm really stresses it somewhat...

HM666
01-08-2015, 07:31 AM
Agreed. :)

kh99
01-08-2015, 04:31 PM
I looked at the logs and didn't see any paypal activity, but I also noticed that the 70 lines of access log covered less than 1 minute, so I don't think any conclusions can be drawn from that.

I looked at the code for the points mod that does work with paypal, but it doesn't look llike it uses the IPN message. I don't know how it works without it.

I tried to go to https://removed.com using chrome this morning and got this message:
The webpage at https://a2s.in/ might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_SSL_VERSION_OR_CIPHER_MISMATCH

which is kind of what I was originally thinking, that there may be an SSL handshake issue between paypal and your server. I don't know how you'd go about debugging that. I think apache has an ssl error log, (if that's what you're using). ETA: or, as I think I mentioned earlier, maybe you can run an http server that allows access only to payment_gateway.php.

angemon
01-08-2015, 05:52 PM
Keep in mind that if you see a member online they actually might NOT be online. vBulletin has a built in time delay for showing the users in the WGO area. The delay is 15 minutes so just because you see someone online they may not actually be there they might have been there 10 minutes ago.
I pmed him at that time because I went to his profile and saw that his is replying in other threads , so I pmed him .

--------------- Added 1420746871 at 1420746871 ---------------

Nah, I totally agree with that. People really need to have some patience. Even if Ozz was around, he's fully in his rights to do other things first as he sees fit - after all, there's no priority support around here. And expecting him to sort of check out first after a unasked for pm really stresses it somewhat...
I agree too , sorry I didn't want to be a bother , I've just pmed ozzy because he was interested in the server logs.

cellarius
01-08-2015, 07:36 PM
Understood. Although, as a general rule, do not PM members here for private assistance unless asked to. And if you want help fast, make sure as many members as possible have access to all relevant information. For example, you surely realize that it does not take more than a simple find/replace all in your favourite editor to anonymize your IP address in your log.

angemon
01-09-2015, 09:11 PM
Understood. Although, as a general rule, do not PM members here for private assistance unless asked to. And if you want help fast, make sure as many members as possible have access to all relevant information. For example, you surely realize that it does not take more than a simple find/replace all in your favourite editor to anonymize your IP address in your log.

I looked at the logs and didn't see any paypal activity, but I also noticed that the 70 lines of access log covered less than 1 minute, so I don't think any conclusions can be drawn from that.

I looked at the code for the points mod that does work with paypal, but it doesn't look llike it uses the IPN message. I don't know how it works without it.

I tried to go to https://removed.com using chrome this morning and got this message:
The webpage at https://removed.com/ might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_SSL_VERSION_OR_CIPHER_MISMATCH

which is kind of what I was originally thinking, that there may be an SSL handshake issue between paypal and your server. I don't know how you'd go about debugging that. I think apache has an ssl error log, (if that's what you're using). ETA: or, as I think I mentioned earlier, maybe you can run an http server that allows access only to payment_gateway.php.

Actually, the only time I am not showing as online is when I loose power. My pc is on 24/7 and I always have a vB.org tab open.

New update guys : we have disabled SSL in our forum ,and we've gone back to HTTP , but still the same issue , I don't know what the problem now , I have been thinking the whole time that it's SSL issue but now I found that's not , so what is the problem , I think something in my server , like a firewall or something.

ozzy47
01-09-2015, 09:51 PM
Like I said, I did not see any attempts from PayPal in the logs you sent me. So one of three things.

1) They did not show cause there was no action from PayPal at the time.
2) A issue with PayPal.
3) A issue with your server.

IMO it is number 3, so you would need to contact your host to have then figure out what the issue is. Or perhaps #2, then you would need to contact PayPal. :)

angemon
01-10-2015, 03:10 PM
I looked at the logs and didn't see any paypal activity, but I also noticed that the 70 lines of access log covered less than 1 minute, so I don't think any conclusions can be drawn from that.

I looked at the code for the points mod that does work with paypal, but it doesn't look llike it uses the IPN message. I don't know how it works without it.

I tried to go to https://removed.com using chrome this morning and got this message:
The webpage at https://a2s.in/ might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_SSL_VERSION_OR_CIPHER_MISMATCH

which is kind of what I was originally thinking, that there may be an SSL handshake issue between paypal and your server. I don't know how you'd go about debugging that. I think apache has an ssl error log, (if that's what you're using). ETA: or, as I think I mentioned earlier, maybe you can run an http server that allows access only to payment_gateway.php.

Actually, the only time I am not showing as online is when I loose power. My pc is on 24/7 and I always have a vB.org tab open.


Final update : I've fixed everything , the suscription system is working now , it was an issue with my server , I've disabled the firewall in my server and everything works fine, thanks everyone for all your efforts.

ozzy47
01-10-2015, 03:11 PM
Glad to hear it's finally sorted. :)

angemon
01-10-2015, 04:49 PM
Glad to hear it's finally sorted. :)
thanks for everything , one last thing , my hosting told me that I can't keep my firewall disabled , so I have to whitelist paypal , do you know their IP , I hear they change it everytime ?
http://stackoverflow.com/questions/24318275/firewall-security-rule-to-whitelist-ips-from-which-the-paypal-ipn-is-sent

HM666
01-10-2015, 05:01 PM
Do they HAVE to have the IP address? Couldn't they allow with just the domain instead?

Dave
01-10-2015, 05:10 PM
You can find the IP's and domain names of PayPal here: https://ppmts.custhelp.com/app/answers/detail/a_id/92
If possible with your firewall, whitelist *.paypal.com.

HM666
01-10-2015, 05:13 PM
Yeah that is what I was thinking whitelist paypal.com since if they keep on changing the IP address. It would be a nightmare to try and keep up with the IP address changes in that case, so there must be some way to just add the domain instead. You may want to ask your host if its possible and tell them that paypal changes its IP address regularly.

angemon
01-10-2015, 05:52 PM
Yeah that is what I was thinking whitelist paypal.com since if they keep on changing the IP address. It would be a nightmare to try and keep up with the IP address changes in that case, so there must be some way to just add the domain instead. You may want to ask your host if its possible and tell them that paypal changes its IP address regularly.

You can find the IP's and domain names of PayPal here: https://ppmts.custhelp.com/app/answers/detail/a_id/92
If possible with your firewall, whitelist *.paypal.com.

https://vborg.vbsupport.ru/external/2015/01/26.png

HM666
01-10-2015, 06:29 PM
Er ok, wow. Well whenever Paypal changes their IP address you will continue to have this problem. Perhaps the host can implement some sort of fix?

ozzy47
01-10-2015, 07:29 PM
Yeah it's called get a better firewall. :)

kh99
01-10-2015, 07:45 PM
Just out of curiosity, are we talking about incoming or outgoing connections? If it's incoming, then I can see why white listing by domain name is a problem. Do any firewalls actually work that way?