Error Verify Post VARs is driving me insane - Please Help

Hi,

I am trying to integrate S2member pro with Clickbank, everything is fine until it tries to direct back to my site then I get the error message - Unable to verify post Vars

I have read through every post about this and gone through everything. I just can’t get the dam thing to work. I know quite a few people have had this problem, but is there actually a fix for this?

It’s really holding me back and I’ve spent days trying to figure it out. I have run the server check and that comes back fine.

The only thing I can see in the log files is:

[0] => IPN received on: Fri Dec 15, 2017 3:39:22 pm UTC
[1] => s2Member POST vars verified with a Proxy Key
[2] => Unable to verify $_SERVER["HTTP_HOST"]. Please check the custom value in your Button Code. It MUST start with your domain name.
)

Hopefully somebody can help

Jason

Did you ensure, that your “custom” value start with your domain name? Also check for same connection protocol - “http” and “https”.

Hi, yes it starts with my domain name, I have also tried http:// and https://

Here is my button code generated by S2member

[s2Member-Pro-ClickBank-Button cbp=“ljpm” cbskin="" cbfid="" cbur="" cbf=“auto” vtid="" level=“1” ccaps=“ts1” desc=“lip test” custom=“members.betinfo24.co.uk” tp=“7” tt=“D” rp=“1” rt=“M” rr=“1” image=“default” output=“anchor” /]

[s2Member-Pro-ClickBank-Button cbp=“ljpm” cbskin="" cbfid="" cbur="" cbf=“auto” vtid="" level=“1” ccaps=“ts1” desc=“lip test” custom=“https://members.betinfo24.co.uk” tp=“7” tt=“D” rp=“1” rt=“M” rr=“1” image=“default” output=“anchor” /]

First one is good.

Check the type of connection from CB to s2M - I think it should be “https”, but at least it should be same, that s2M expected, and this depends of settings of your site.

Yes my site is https which I have set up and tried. Included this in my CB settings and S2 settings

I also tried it before I added the SSL Certificate and it didn’t work then either

In logs it say it’s POST session, maybe GET needs?

Thanks for the reply but Im not sure I understand what you mean, I don’t have much experience with coding/programming.

Could you elaborate?

OK, first, you set some URL in your CB account as “call back URL”, which is it? If your site works with “https”, there must be “https” too.

Yes I have done this, the return URL states https which is the same as my site. I have had 3 different developers look at this now and none of them can find the problem!

Well, if you need me to check it deeper (and looks like it needs to deep in the s2M code), feel free to contact me at PM.