Status of ClickBank in s2member

Hi, I used to use s2member quite a bit about 10+ years ago but recently came across a situation where it would seem to be just right for what I need: a Specific Post/Page Buy Now scenario. I have set up a test product on CB and assuming the what they now call INS equates to IPN on s2, I set about trying to integrate the two.

CB offers the choice of versions 6.0, 6.1, 7.0 & 8.0. S2 offers 2.1 and 6. If I choose 6.0 in CB and specify the address of https://mydomain.com/?s2member_pro_cb_notify=6, CB says error 500 and says that the URL given is invalid.

The strange thing is that setting 6.1 in CB and using `…/?s2member_pro_cb_notify=6.1 DOES work. So do the following (CB setting first, value on S2 URL second):
6.0 & 6
7.0 & 7
8.0 & 7
anything with s2 value = 8

With any of these, a test purchase seems to go through ok BUT no email is sent and the TY page begins:
“%1$s says…
Thank you! (you MUST check your email before proceeding)” which obviously doesn’t look right.

The log is strange: the only thing I managed to get from it was before I got into testing bigtime today when I used 8.0 & 8. It then said this:
LOG ENTRY: Wed Oct 23rd, 2024 @ precisely 7:50 pm UTC
PHP v8.2.24 :: WordPress v6.6.2 :: s2Member v240325 :: s2Member Pro v240325
Memory 3.30 MB :: Real Memory 6.00 MB :: Peak Memory 4.05 MB :: Real Peak Memory 6.00 MB
mydomain.com/?s2member_pro_cb_notify=8
User-Agent: Apache-HttpClient/4.5.14 (Java/1.8.0_422)
array (
‘s2member_log’ =>
array (
0 => ‘Unable to verify POST vars. This is most likely related to an invalid ClickBank configuration. Please check: s2Member → ClickBank Options.’,
1 => ‘If you’re absolutely SURE that your ClickBank configuration is valid, you may want to run some tests on your server, just to be sure $_POST variables are populated, and that your server is able to connect to ClickBank over an HTTPS connection.’,
2 => ‘s2Member uses the WP_Http class for remote connections; which will try to use cURL first, and then fall back on the FOPEN method when cURL is not available. On a Windows server, you may have to disable your cURL extension. Instead, set allow_url_fopen = yes in your php.ini file. The cURL extension (usually) does NOT support SSL connections on a Windows server.’,
3 => ‘array (
‘s2member_pro_cb_notify’ => ‘8’,
‘s2member_pro_clickbank_notify’ => ‘8’,
)’,
),

Can anybody say if the CB interface still works with s2? If so, what should the IPN/INS parameters be?

Thanks.

Roger

Hello again - please can anybody say anything about using s2Member with ClickBank nowadays? Does it work and if so, has does it connect with their latest IPN/INS? Or should I give up on it?

Thanks.