|
|
Signed up at another host and moved the site etc.
Problem solved!
Works like a charm. :-)
Thank you. :-)
TJ
|
|
|
Unfortunately I only have the one hosting account at the moment. :-(
I’ve been having other issues with Netfirms as well so we are considering moving hosting somewhere else. Weren’t planning on doing it so soon though.
There’s no guarantee that moving hosting will solve the problem so would prefer solving the issue if at all possible.
Thanx. :-)
TJ
|
|
|
Any ideas? :-(
Do you think it’s the missing “server_addr” that’s causing the “Unable to obtain API vars.” problem?
|
|
|
Response from Netfirms…
“Unfortunately, “server_addr” is disabled on our server. Since your account is in shared hosting, it is not possible to give the “server_addr” variable.”
|
|
|
Hi. :-)
Thank you for your time. Much appreciated. :-)
Just did a phpinfo as well and the server is not returning server_addr. :-(
I’ll have to run that by Netfirms as they are responsible for that side of things. They tend to be very slow so it might take a day or two before I get anything back. Hopefully they can resolve that. They tend to be useless when it comes to tech support. :-(
Will let you know. :-)
Thank you. :-)
TJ
|
|
|
Hi. :-)
I tried various things, including the custom thank you page integration that you mentioned, but it all ended up at xxx/?s2member_pro_clickbank_return=1
I tried
xxx/?s2member_pro_clickbank_return=1&s2member_pro_clickbank_return_success=http://xxx/wp-login.php?action=register (I’ll customize it to fit in with ClickBank requirements)
but that also ended up at ?s2member_pro_clickbank_return=1 telling me to wait 15 minutes for the email
I guess it’s all failing because there’s something wrong with the ClickBank integration, as you say. It’s probably a waste of time to work on that until the email starts working.
I did the whole setup twice on two different domains and on both I had the same issues with the clickbank return. Please have a look and let me know what I missed.
Thank you. :-)
|
|
|
As for logged in as Admin (just noticed)…
I do my “development” in Firefox and test in Chrome, restarting Chrome and clearing cookies before every test, so was definitely not logged on as admin.
Only bit that’s not working as far as I can see is the Signup Confirmation eMails and signup after payment.
Would like the customer to be redirected to /wp-login.php?action=register after they’ve made payment. Would be happy if they can register (including their purchased membership level), even if the Signup Confirmation eMails aren’t sent.
Thanx. :-)
|
|
|
Oh… no FTP access, sorry. :-)
|
|
|
Just sent the private contact with logon details etc.
Note that I’ve temporarily switched off free registration because the site is “open”.
Test using ClickBank product number 2. The rest of the products are configured for a previous test site.
Thank you. :-)
TJ
|
|
|
|
|
|
|
Gave my Clerk key at ClickBank a little bit more rights and I now get
“Order API variables have been obtained from ClickBank®.”
instead of the
“Unable to obtain API vars. The ClickBank® API may NOT have data for this order yet….”
that I got before in my clickbank-rtn.log
Didn’t make any difference to my Signup Confirmation eMail being sent though. Still not being sent.
Update: That seems to have been a once-off. I’m back to “Unable to obtain API vars. The ClickBank® API may NOT have data for this order yet….”
Doesn’t seem to be related to my Signup Confirmation emails not being sent.
|
|
|
paypal-rtn.log…
PHP v5.2.17 :: WordPress® v3.4.1 :: s2Member® v120703 :: s2Member® Pro v120703
Memory 17.01 MB :: Real Memory 17.25 MB :: Peak Memory 17.10 MB :: Real Peak Memory 17.25 MB
members.xxxxxxxxxxxxxxxxx.com/?s2member_pro_clickbank_return&s2member_paypal_return=1&s2member_paypal_proxy=clickbank&s2member_paypal_proxy_use=standard-emails%2Cty-email&s2member_paypal_proxy_verification=1345129305-740590d0dd9d28456632a235f36c6da3
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.75 Safari/537.1
array (
‘proxy_verified’ => ‘clickbank’,
‘s2member_log’ =>
array (
0 => ‘Return-Data received on: Thu Aug 16, 2012 3:01:50 pm UTC’,
1 => ‘s2Member POST vars verified with a Proxy Key’,
2 => ‘Customer must wait for Email Confirmation `proxy_use`: ( `ty-email` ).’,
3 => ‘Redirecting Customer to the Home Page. Customer must wait for Email Confirmation `proxy_use`: ( `ty-email` ).’,
),
‘subscr_gateway’ => ‘clickbank’,
‘s2member_paypal_proxy’ => ‘clickbank’,
‘s2member_paypal_proxy_use’ => ‘standard-emails,ty-email’,
‘s2member_paypal_proxy_verification’ => ‘1345129305-740590d0dd9d28456632a235f36c6da3’,
)
|
|
|
clickbank-rtn.log…
PHP v5.2.17 :: WordPress® v3.4.1 :: s2Member® v120703 :: s2Member® Pro v120703
Memory 15.85 MB :: Real Memory 16.00 MB :: Peak Memory 15.89 MB :: Real Peak Memory 16.00 MB
members.xxxxxxxxxxxxxxxxx.com/?s2member_pro_clickbank_return=1&item=2&cbreceipt=DP7QEJWG&time=1345128808&cbpop=7E28321D&cbaffi=0&cname=John+Doe&cemail=john.doe%40xxxxxxxxxxxxxxxxx.com&ccountry=TH&czip=83102&s2_invoice=2&s2_p1&s2_p3&s2_desc=xxxxxxxxxxxxxxxxx.com+Premium+Membership&s2_custom=members.xxxxxxxxxxxxxxxxx.com&s2_customer_ip=180.183.193.221&s2_referencing=1&_s2member_sig=1345112028-117dc78a376ae3dc271817d5ba3dea48
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.75 Safari/537.1
array (
‘item’ => ‘2’,
‘cbreceipt’ => ‘DP7QEJWG’,
‘time’ => ‘1345128808’,
‘cbpop’ => ‘7E28321D’,
‘cbaffi’ => ‘0’,
‘cname’ => ‘John Doe’,
‘cemail’ => ‘john.doe@xxxxxxxxxxxxxxxxx.com’,
‘ccountry’ => ‘TH’,
‘czip’ => ‘83102’,
‘s2_invoice’ => ‘2’,
‘s2_p1’ => ”,
‘s2_p3’ => ”,
‘s2_desc’ => ‘xxxxxxxxxxxxxxxxx.com Premium Membership’,
‘s2_custom’ => ‘members.xxxxxxxxxxxxxxxxx.com’,
‘s2_customer_ip’ => ‘180.183.193.221’,
‘s2_referencing’ => ‘1’,
‘_s2member_sig’ => ‘1345112028-117dc78a376ae3dc271817d5ba3dea48’,
‘s2member_log’ =>
array (
0 => ‘Return-Data received on: Thu Aug 16, 2012 3:01:20 pm UTC’,
1 => ‘s2Member POST vars verified with ClickBank®.’,
2 => ‘Sleeping for 5 seconds. Giving ClickBank® a chance to finalize processing.’,
3 => ‘Awake. It\’s Thu Aug 16, 2012 3:01:25 pm UTC. Processing will continue.’,
4 => ‘Unable to obtain API vars. The ClickBank® API may NOT have data for this order yet. Or, your ClickBank® API Keys are NOT configured properly under `s2Member -> ClickBank® Options`.’,
5 => ‘array (
\’s2member_pro_clickbank_return\’ => \’1\’,
\’item\’ => \’2\’,
\’cbreceipt\’ => \’DP7QEJWG\’,
\’time\’ => \’1345128808\’,
\’cbpop\’ => \’7E28321D\’,
\’cbaffi\’ => \’0\’,
\’cname\’ => \’John Doe\’,
\’cemail\’ => \’john.doe@xxxxxxxxxxxxxxxxx.com\’,
\’ccountry\’ => \’TH\’,
\’czip\’ => \’83102\’,
\’s2_invoice\’ => \’2\’,
\’s2_p1\’ => \’\’,
\’s2_p3\’ => \’\’,
\’s2_desc\’ => \’xxxxxxxxxxxxxxxxx Premium Membership\’,
\’s2_custom\’ => \’members.xxxxxxxxxxxxxxxxx.com\’,
\’s2_customer_ip\’ => \’180.183.193.221\’,
\’s2_referencing\’ => \’1\’,
\’_s2member_sig\’ => \’1345112028-117dc78a376ae3dc271817d5ba3dea48\’,
)’,
6 => ‘Return-Data reformulated. Piping through s2Member\’s core/standard PayPal® processor with `proxy_use` ( `ty-email` ).’,
7 => ‘Please check PayPal® RTN logs for further processing details.’,
8 => ‘http://members.xxxxxxxxxxxxxxxxx.com/?s2member_pro_clickbank_return&s2member_paypal_return=1&s2member_paypal_proxy=clickbank&s2member_paypal_proxy_use=standard-emails%2Cty-email&s2member_paypal_proxy_verification=1345129305-740590d0dd9d28456632a235f36c6da3’,
),
)
|
|
|
clickbank-ipn.log…
PHP v5.2.17 :: WordPress® v3.4.1 :: s2Member® v120703 :: s2Member® Pro v120703
Memory 16.04 MB :: Real Memory 16.25 MB :: Peak Memory 16.08 MB :: Real Peak Memory 16.25 MB
members.xxxxxxxxxxxxxxxxx.com/?s2member_pro_clickbank_notify=1
User-Agent: Jakarta Commons-HttpClient/3.1
array (
‘cprodtitle’ => ‘xxxxxxxxxxxxxxxxx.com Premium Membership’,
‘ctranspaymentmethod’ => ‘TEST’,
‘cfuturepayments’ => ”,
‘ccustzip’ => ‘83102’,
‘ccustshippingzip’ => ‘83102’,
‘ccustemail’ => ‘john.doe@xxxxxxxxxxxxxxxxx.com’,
‘crebillstatus’ => ”,
‘ctransaffiliate’ => ”,
‘cupsellreceipt’ => ”,
‘corderamount’ => ‘19700’,
‘ccustcounty’ => ”,
‘ccurrency’ => ‘USD’,
‘ccustfirstname’ => ‘JOHN’,
‘crebillamnt’ => ”,
‘ctransaction’ => ‘TEST_SALE’,
‘ccuststate’ => ”,
‘caccountamount’ => ‘18122’,
‘ctranspublisher’ => ‘dhpde’,
‘ctid’ => ”,
‘ccustshippingcountry’ => ‘TH’,
‘cnextpaymentdate’ => ”,
‘cverify’ => ‘F4B740F7’,
‘cprocessedpayments’ => ”,
‘cprodtype’ => ‘STANDARD’,
‘ccustcc’ => ‘TH’,
‘ccustshippingstate’ => ”,
‘ctransreceipt’ => ‘DP7QEJWG’,
‘ccustfullname’ => ‘John Doe’,
‘cvendthru’ => ‘s2_referencing=1&s2member_pro_clickbank_return=1&s2_custom=members.xxxxxxxxxxxxxxxxx.com&_s2member_sig=1345112028-117dc78a376ae3dc271817d5ba3dea48&s2_desc=xxxxxxxxxxxxxxxxx.com+Premium+Membership&s2_invoice=2&s2_customer_ip=180.183.193.221&’,
‘ctransrole’ => ‘VENDOR’,
‘ccustaddr2’ => ”,
‘ccustaddr1’ => ”,
‘ccustcity’ => ”,
‘ccustlastname’ => ‘DOE’,
‘ctranstime’ => ‘1345129268’,
‘cproditem’ => ‘2’,
‘s2member_log’ =>
array (
0 => ‘IPN received on: Thu Aug 16, 2012 3:01:10 pm UTC’,
1 => ‘s2Member POST vars verified with ClickBank®.’,
2 => ‘ClickBank® transaction identified as ( `SALE/STANDARD` ).’,
3 => ‘IPN reformulated. Piping through s2Member\’s core/standard PayPal® processor as `txn_type` ( `web_accept` ).’,
4 => ‘Please check PayPal® IPN logs for further processing details.’,
),
‘s2vars’ =>
array (
‘s2_referencing’ => ‘1’,
‘s2_custom’ => ‘members.xxxxxxxxxxxxxxxxx.com’,
‘_s2member_sig’ => ‘1345112028-117dc78a376ae3dc271817d5ba3dea48’,
‘s2_desc’ => ‘xxxxxxxxxxxxxxxxx.com Premium Membership’,
‘s2_invoice’ => ‘2’,
‘s2_customer_ip’ => ‘180.183.193.221’,
),
)
|