Page 1 of 1

s2member pro & Clickbank.

PostPosted: October 1st, 2011, 3:58 pm
by netameta
Alright so i have purchased s2member pro today just because it integrate with clickbank.

i am stumbled upon a problem though, Clickbank require a Pitch page, i have set up all the options for click bank and now when i create a button i am thinking, where am i going to put it, i mean my pitch page isn't related to my WP website it is a separate sub-domain.

My question is.

Do i have to create my Pitch pages inside my WP website frame so i will get the buttons php variable ? or there is another way ?

Re: s2member pro & Clickbank.

PostPosted: October 1st, 2011, 4:14 pm
by cassel
You can probably create a separate page just for ClickBank, even if it is not listed in your navigation. Anyone with an affiliate link will be able to send potential customers directly to that page, but regular visitors to your site, will not have access to it. That is how i would have set up mine (i ended up NOT using Clickbank however in favor of another plugin).

Re: s2member pro & Clickbank.

PostPosted: October 1st, 2011, 4:23 pm
by netameta
well i've just created a new template page with that and will see how this will work .

Re: s2member pro & Clickbank.

PostPosted: October 1st, 2011, 5:21 pm
by netameta
should testing the product work ? i've tested it with a test credit card, and it brings me to the thank you page but i dont get an email from s2meber/WP that to create a new account.

Re: s2member pro & Clickbank.

PostPosted: October 2nd, 2011, 5:15 am
by Cristián Lávaque
That's odd. Could you post the related log entries x'ing out any private info? WP Admin -> s2Member -> ClickBank Options -> Account Details -> Enable Logging

Check all the logs, including the paypal ones.

Thanks! :)

Re: s2member pro & Clickbank.

PostPosted: October 2nd, 2011, 11:39 am
by netameta
Enabled i will now try again.

Weird thing is, after i did the first test. i got an email from -s2member/Wp about 10 minutes later, before i got that email i did another test to make sure i am not imagining to through another email, and i did not get email for the second one.

I will now try to test it again, and going to see the logs.

Re: s2member pro & Clickbank.

PostPosted: October 2nd, 2011, 11:47 am
by netameta
well scratch that i have made several other tests with 5 emails now, it all seem to work perfectly. Thanks very very much for the assistance.

Re: s2member pro & Clickbank.

PostPosted: October 2nd, 2011, 3:31 pm
by Cristián Lávaque
That's great! You're very welcome. I'm glad it's working now. :)

Re: s2member pro & Clickbank.

PostPosted: October 25th, 2011, 7:48 am
by alexhai
Hi Cristian,

it seems like I have the same problems but I cant make it work... here are my logs:

Code: Select all
Clickbank Logging:
PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111017 :: s2Member® Pro v111017
Memory 23.19 MB :: Real Memory 23.50 MB :: Peak Memory 23.62 MB :: Real Peak Memory 24.00 MB
xxx.com/?s2member_pro_clickbank_return=1&item=1&cbreceipt=F5ZFW4ES&time=1319545393&cbpop=D18FA2DF&cbaffi=0&cname=xxx+xxx&cemail=xxx%40xxx.de&ccountry=DE&czip=88499&s2_invoice=1&s2_p1=0+D&s2_p3=1+M&s2_desc=AVP+6+monatiges+Affiliate+Training+%2F+description+and+pricing+details+here.&s2_custom=xxx.com&s2_customer_ip=xxx.xxx.xxx.xxx&s2_subscr_id=s2-4ea6aa236ae8b
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0C)
array (
  'item' => '1',
  'cbreceipt' => 'F5ZFW4ES',
  'time' => '1319545393',
  'cbpop' => 'D18FA2DF',
  'cbaffi' => '0',
  'cname' => 'xxx',
  'cemail' => 'xxx',
  'ccountry' => 'DE',
  'czip' => 'xxx',
  's2_invoice' => '1',
  's2_p1' => '0 D',
  's2_p3' => '1 M',
  's2_desc' => 'AVP 6 monatiges Affiliate Training / description and pricing details here.',
  's2_custom' => 'xxx.com',
  's2_customer_ip' => 'xxx.xxx.xxx.xxx',
  's2_subscr_id' => 's2-4ea6aa236ae8b',
  's2member_log' =>
  array (
    0 => 'Return-Data received on: Tue Oct 25, 2011 12:23:48 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 Tue Oct 25, 2011 12:23:53 pm UTC. Processing will continue.',
    4 => 'Order API variables have been obtained from ClickBank®.',
    5 => 'ClickBank® transaction identified as ( `SALE/RECURRING` ).',
    6 => 'Return-Data reformulated. Piping through s2Member\'s core/standard PayPal® processor as `txn_type` ( `subscr_signup` ).',
    7 => 'Please check PayPal® RTN logs for further processing details.',
    8 => 'http://xxx.com/?s2member_pro_clickbank_return&s2member_paypal_return=1&s2member_paypal_proxy=clickbank&s2member_paypal_proxy_use=standard-emails&s2member_paypal_proxy_verification=0a0208b63f18d982728ba09b42c3dc24&txn_type=subscr_signup&subscr_id=s2-4ea6aa236ae8b&recurring=1&txn_id=F5ZFW4ES&custom=affiliate-verdienstplan.com&period1=1+M&period3=1+M&mc_amount1=32.22&mc_amount3=19.70&mc_currency=EUR&tax=0.00&payer_email=xxx%40xxx.de&first_name=xxx&last_name=xxx&option_name1=Originating+Domain&option_selection1=xxx.com&option_name2=Customer+IP+Address&option_selection2=xxx.xxx.xxx&item_number=1&item_name=AVP+6+monatiges+Affiliate+Training+%2F+description+and+pricing+details+here.',
  ),
  's2vars' =>
  array (
    's2_invoice' => '1',
    's2_p1' => '1 M',
    's2_p3' => '1 M',
    's2_desc' => 'AVP 6 monatiges Affiliate Training / description and pricing details here.',
    's2_custom' => 'xxx.com',
    's2_customer_ip' => 'xx.xxx.xxx.xxx',
    's2_subscr_id' => 's2-4ea6aa236ae8b',
  ),
)


--------------------------------------------------------------------------------------------

Here comes the paypal log:

Code: Select all
PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111017 :: s2Member® Pro v111017
Memory 24.28 MB :: Real Memory 24.75 MB :: Peak Memory 24.34 MB :: Real Peak Memory 24.75 MB
xxx.com/?s2member_pro_clickbank_return&s2member_paypal_return=1&s2member_paypal_proxy=clickbank&s2member_paypal_proxy_use=standard-emails&s2member_paypal_proxy_verification=0a0208b63f18d982728ba09b42c3dc24&txn_type=subscr_signup&subscr_id=s2-4ea6aa236ae8b&recurring=1&txn_id=F5ZFW4ES&custom=xxx.com&period1=1+M&period3=1+M&mc_amount1=32.22&mc_amount3=19.70&mc_currency=EUR&tax=0.00&payer_email=xxx%40xxx.de&first_name=xx&last_name=xxx&option_name1=Originating+Domain&option_selection1=xxx.com&option_name2=Customer+IP+Address&option_selection2=xxx.xxx.xxx&item_number=1&item_name=AVP+6+monatiges+Affiliate+Training+%2F+description+and+pricing+details+here.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0C)
array (
  'txn_type' => 'subscr_signup',
  'subscr_id' => 's2-4ea6aa236ae8b',
  'recurring' => '19.70',
  'txn_id' => 'F5ZFW4ES',
  'custom' => 'xxx.com',
  'period1' => '1 M',
  'period3' => '1 M',
  'mc_amount1' => '32.22',
  'mc_amount3' => '19.70',
  'mc_currency' => 'EUR',
  'tax' => '0.00',
  'payer_email' => 'xxx@xxx.de',
  'first_name' => 'xxx',
  'last_name' => 'xxx',
  'option_name1' => 'Originating Domain',
  'option_selection1' => 'xxx.com',
  'option_name2' => 'Customer IP Address',
  'option_selection2' => 'xxx.xxx.xxx',
  'item_number' => '1',
  'item_name' => 'AVP 6 monatiges Affiliate Training / description and pricing details here.',
  'proxy_verified' => 'clickbank',
  's2member_log' =>
  array (
    0 => 'Return-Data received on: Tue Oct 25, 2011 12:23:56 pm UTC',
    1 => 's2Member POST vars verified with a Proxy Key',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup|subscr_payment` ).',
    4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup|subscr_payment` ) w/o update vars.',
    5 => 'Registration Cookies set on ( `web_accept|subscr_signup|subscr_payment` ) w/o update vars.',
    6 => 'Transient Tracking Cookie set on ( `web_accept|subscr_signup|subscr_payment` ) w/o update vars.',
    7 => 'Redirecting Customer to Registration Page. They need to Register now.',
  ),
  'subscr_gateway' => 'clickbank',
  'eotper' => NULL,
  'ccaps' => NULL,
  'level' => '1',
  'ip' => 'xxx.xxx.xxx.xxx',
  'initial_term' => '1 M',
  'initial' => '32.22',
  'regular' => '19.70',
  'regular_term' => '1 M',
  's2member_paypal_proxy' => 'clickbank',
  's2member_paypal_proxy_use' => 'standard-emails',
  's2member_paypal_proxy_verification' => '0a0208b63f18d982728ba09b42c3dc24',
)

------------------------------------------------

Our plan was to go online at the end of this week, so I hope you can help ;-)
Thanks!

Cheers
Alex

Re: s2member pro & Clickbank.

PostPosted: October 26th, 2011, 12:03 am
by Cristián Lávaque
Hi Alex. :)

Thanks for the logs. I don't see any errors in them. Do you have related entries from other logs?

What exactly is your problem? No email received by the customer?

Re: s2member pro & Clickbank.

PostPosted: October 26th, 2011, 1:20 am
by alexhai
Hi Cris,

right now I dont know about other log entries... my problem is:

Paying with CB test credit card works fine and the s2member cb thank you page shows asuccessful purchase. The link on thethank you page goes to registration. I register but there is no new subscriber added to s2member or wordpress user database and I think therefor there is no email send with login details.
I dont now whats going on here. Please tell me asap if you need login details to watch the adminpanel of my site. Thanks for your help.

Re: s2member pro & Clickbank.

PostPosted: October 26th, 2011, 11:05 pm
by Cristián Lávaque
You can send the login info using the contact form in case Jason wants to login to your dashboard. http://s2member.com/contact

Include in your email a new test card generated by ClickBank to do a test purchase and see what happens.

Re: s2member pro & Clickbank.

PostPosted: October 27th, 2011, 2:03 am
by alexhai
Ok thanks Cris, I just mailed you my login details via contact form. THanks for your help!

Re: s2member pro & Clickbank.

PostPosted: October 27th, 2011, 10:16 pm
by Cristián Lávaque
Thanks! I just replied. :)

Re: s2member pro & Clickbank.

PostPosted: November 2nd, 2011, 2:15 am
by alexhai
Hi Cristian,

any progress to report yet?

Thanks

Re: s2member pro & Clickbank.

PostPosted: November 2nd, 2011, 11:12 pm
by Cristián Lávaque
Got your email again. Thanks a lot for sending the details.

I didn't complete a purchase, because the problem seems to be earlier than that. Your order button doesn't have the s2Member information, it's just a regular ClickBank button. Try using an s2Member generated shortcode please. WP Admin -> s2Member -> ClickBank Buttons

Also please make sure you completed the instructions/settings for the integration. WP Admin -> s2Member -> ClickBank Options

Let me know if that helps. :)

Re: s2member pro & Clickbank.

PostPosted: November 3rd, 2011, 2:13 am
by alexhai
Ok, I found one single order button that was not with s2member details. All other buttons are this way:

Code: Select all
[s2Member-Pro-ClickBank-Button cbp="1" level="1" ccaps="" desc="XXXX" custom="XXXX" tp="0" tt="D" rp="1" rt="M" rr="1" image="XXXX/wp-content/themes/XXXX/images/addtocart-style1.png" output="anchor" /]


As I wrote the problem is: after purchase and registration there are no user details inside wordpress user database!! Please try another Add to Cart Button for your test order...!

I will again check all CB Details and Cart Codes. If theres something I missed, I will write it here asap...

Thanks.

Re: s2member pro & Clickbank.

PostPosted: November 3rd, 2011, 2:27 am
by alexhai
ok the problem is not s2member... a special login design plugin crashed and the register now button was without any function... after deactivation of this plugin it works.

So there is only one more thing: where can I set the options for s2members successful return to show the registration link on the clickbank thank you page instead of the notebox with the hint for email checking?

I mean: I deactivated the plugin as described above and checked the selling process again for several times. The result was, that now s2member said: thanks for your purchase please check your mails (can take up to 15 minutes) blabla... to proceed...

Where can I switch this mail thing off and turn on the link to registration? I tried it with the %%registration_url%% in the customization for the thank-you page but this goes to a 404 error after purchase...

Thanks so much for making this clear to me ;-)

Cheers
Alex

Re: s2member pro & Clickbank.

PostPosted: November 3rd, 2011, 9:31 pm
by Cristián Lávaque
No problem. Well done for finding the conflicting plugin!

You can change or customize the default thank-you page. WP Admin -> s2Member -> ClickBank Options -> Thank-You

I hope that helps. :)

Re: s2member pro & Clickbank.

PostPosted: November 4th, 2011, 2:52 am
by alexhai
Unfortunately no, this does not help.

I will explain it more detailed (I know where to customize the thank-you page ;-))

There is a dynamic part of the thank-you page that welcomes the new customer with a given thank-you message, right? It says smething like: thanks for purchase, please register a username.
Below this message there is a button to go to the protected login-php?action=register...

This is the situation I prefer to have after a purchase. What now happens is that the customer gets a message on the dynamic part of the thank-you page that gives a hint to look for an email (that never arrives in inbox!) and the button just redirects the customer to the homepage after purchase. Why?

I mean: how can I change s2members behavior from sending email to customer after purchase to the former "thaks for your purchase, the next step is to register a username, click below..." ?

Or the other way round: what circumstances lead to the one and the other output of s2member?

Please be more detailed this time and make me see you read my question properly. I am sorry but everytime I get a standard answer not really related to my question I loose again days and days and days... so dont get me wrong, just help me out ;-)

Re: s2member pro & Clickbank.

PostPosted: November 5th, 2011, 8:38 pm
by Cristián Lávaque
I think I do understand what you want, bypassing the standard thank-you page completely and show the person a custom one with the message you create. What I pointed you to is the right place. In that panel, click the "optional customizations" link and then go to the bottom of that.

Does that help?

I also suggest you make sure you have logging enabled so we can get more info in case something doesn't work as expected and it'll help us debug. WP Admin -> s2Member -> ClickBank Options -> Account Details -> Enable Logging

It isn't right that they don't get an email after the purchase, the logs will help with that.

Re: s2member pro & Clickbank.

PostPosted: November 7th, 2011, 12:06 pm
by alexhai
yeah the mails are alright now... I got it. Thanks.

My last prob I explored:
I have three steps of content dripping: after 40, 80 and 120 days.I checked the dripping by changing admin registration date in the database... It was very confusing to find out, that the 40 days section was delivered as supposed. But the 80 and 120 day section did not appear...

This is an example of my membership dahboard code, where quick start links (should) appear:

Code: Select all
<?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 40){ ?>
[text_bar_3 background="#F0F0F0" + width="100%"]<a href="http://xxx/mitglieder-dashboard/recherche-followup">Lektion 2: Recherche & Follow Up</a>[/text_bar_3]
<?php } ?>
<?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 80){ ?>
[text_bar_3 background="#F0F0F0" + width="100%"]<a href="http://xxx/mitglieder-dashboard/internet-marketing">Lektion 3: Internet Marketing</a>[/text_bar_3]
<?php } ?>
<?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 120){ ?>
[text_bar_3 background="#F0F0F0" + width="100%"]<a href="http://xxx/mitglieder-dashboard/seo-fur-affiliates">Lektion 4: Suchmaschinenoptimierung</a>[/text_bar_3]
<?php } ?>


Do you have any idea, why I cant see the 80 and 120 days links? I tried to look at the php code in detail... When I change it from 80 to e.g. 8 days and refresh the frontend of the page I have all content shown. When I change back to the 80day setting, the content disappears although I changed registration date to somewhere in 2010 (just to make sure the date of reg is more than the max 120 days in the past).

Any idea whats going on?

Thanks again Cris

Cheers
Alexander

Re: s2member pro & Clickbank.

PostPosted: November 7th, 2011, 7:33 pm
by Cristián Lávaque
Registration date is not the same as the date the person paid, so s2Member is not checking the var you're changing, that's why it's not affecting your result. If it worked fine for the first conditions, the other conditions should be fine, you're just changing the number, the code is the same and should work again.

Re: s2member pro & Clickbank.

PostPosted: November 8th, 2011, 3:09 am
by alexhai
Ok thanks, I will open it for CB now. Thanky you very much.

Re: s2member pro & Clickbank.

PostPosted: November 10th, 2011, 11:44 pm
by Cristián Lávaque
You're welcome. :)