Page 1 of 1

ClickBank Thank You Page

PostPosted: July 19th, 2011, 7:34 am
by buck415
ClickBank advised me that my thank you page needs to include the following text:
"Your credit card statement will show a charge from CLKBANK*COM."

The page I am using is:
http://DOMAIN.COM/?s2member_pro_clickbank_return=1

I have made no customizations and seek to use the default install of s2Member Pro as much as possible.

Is there a way I can customize the s2 generated thank you page with the required ClickBank text?

Also there is one additional thing that I may have overlooked inside s2Member Pro concerning its relationship to ClickBank. The default s2Member button generator seems to generate a "Buy Now" button. I'm running membership sites, and would prefer the buttons have a different title such as Join Now or something similar or appropriate for a membership based site. Is there a way I can change the ClickBank button?

Thanks

Re: ClickBank Thank You Page

PostPosted: July 19th, 2011, 8:31 am
by 4under
I'm looking for the same thing... Clickbank is telling me that my "thank you" page isn't right.

You can customize your buttons... see: http://fbfantheme.com/ for an example. You simply need to substitute your button image for the one supplied.

Re: ClickBank Thank You Page

PostPosted: July 19th, 2011, 8:36 am
by 4under
Have a look at this post... Looks like it will solve the "thank you" problem

viewtopic.php?f=4&t=10220&p=28554&hilit=clickbank#p28554

Re: ClickBank Thank You Page

PostPosted: July 19th, 2011, 9:21 am
by buck415
Thanks, but I must have been unclear in my original post as that thread seems to be for a custom hack to a custom thank you page.

ClickBank requires the text I provided above to appear in their Thank You page.

I'm using the default s2Member Pro thank you page.

I want to avoid creating a custom thank you page to comply with ClickBank requirements, and want to continue using the default s2Member Pro thank you page.

Re: ClickBank Thank You Page

PostPosted: July 19th, 2011, 10:36 am
by 4under
After much trying with Clickbank, I finally ditched the default and went to the custom... I just got it up and running and resubmitted to Clickbank for approval. Hopefully, they approve it this time.

I did a lot of "tinkering" trying to use the default but never got it working... Good luck!

I'd still like to get an answer on this if you find one so make sure to post it :)

Re: ClickBank Thank You Page

PostPosted: July 19th, 2011, 1:15 pm
by cashmunkey
4under wrote:I'm looking for the same thing... Clickbank is telling me that my "thank you" page isn't right.

You can customize your buttons... see: http://fbfantheme.com/ for an example. You simply need to substitute your button image for the one supplied.



... Please contact me concerning this product. We are the largest Facebook firm online and speak all over the world! www.fbtrainer.com

... As for the CLICKBANK thing - We run a Million dollar membership site from it .. all you need is a contact us and payment info. Example below

http://fbtrainer.com/members/wp-login.p ... n=register

Re: ClickBank Thank You Page

PostPosted: July 19th, 2011, 11:33 pm
by buck415
Cristián, Jason:

I need to make a suggestion for s2Member Pro:

ClickBank requires the following text appear in the Thank You page, the page that immediately follows registration and then instructs the user to click OK and continue registering:
"Your credit card statement will show a charge from CLKBANK*COM."

My suggestion is to add a variable text field within the s2Member controls that allows users to customize that Thank You page text. I do not want to create a custom page, I just want to be able to conveniently enter the message from the WP s2Member control panel area.

Thanks

Re: ClickBank Thank You Page

PostPosted: July 20th, 2011, 12:29 am
by Cristián Lávaque
Stephen, you can do one of two things that come to mind:

- Edit the registration page to add the required CB message in the logo or the footer area. WP Admin -> s2Member -> General Options -> Login/Registration Design

- Use this hack to redirect the person to a custom thank-you page after returning to the s2Member URL /?s2member_pro_clickbank_return=1

Create the directory/file /wp-content/mu-plugins/s2hacks.php (mu: must use) and add this code (no spaces or new lines before the <?php or after ?>)

Code: Select all
<?php
add_action 
('ws_plugin__s2member_during_paypal_return_during_subscr_signup_wo_update_vars', 'my_clickbank_return');
function my_clickbank_return () {
    if ($_REQUEST['s2member_paypal_proxy'] === 'clickbank') {
        echo '<script type="text/javascript">' . "\n";
        echo "window.location = 'http://yoursite.com/custom-thank-you';" . "\n";
        echo '</script>' . "\n";
        /*
        Note. Don't use wp_redirect() or header("Location: xxx") here.
        The cookies set by s2Member may not be read properly.
        Always use window.location = ''; ( as shown above ).
        */
        exit ();
    }
}
?>


In that custom thank-you page you can have a link to the registration form so the person creates his new account, s2Member will have set the right cookies so the user can create his account and give him the right access.

I hope it helps. :)

All that said, we're looking at how to improve the ClickBank integration so it's easier to comply with CB's policies.

Re: ClickBank Thank You Page

PostPosted: July 20th, 2011, 11:05 pm
by buck415
Hi Cristián.

I was hoping to avoid the hack mentioned in the other thread that you so kindly repeated/reposted here. Thank you for going to that trouble.

I'm running WP MS with the following plugins:
bbPress
BP Disable Activation
BuddyPress
Exclude Pages from Navigation
Fast Secure Contact Form
s2Member Pro
ThreeWP Activity Monitor
WP Show IDs

Everything is the current version.

So, the hack redirects to a custom thank you page, but a new problem now occurs:

The custom thank you page redirects the user to the registration page, where the user registers. Once the user completes the registration process and presses the button to continue, they are automatically re-directed back to the Membership Options page.

The user appears in the Network Site area, but not the Admin Sites area.

Prior to the hack, the user would be automatically registered in the Admin Site area and be able to log in.

Is there another setting somewhere that I need to change?

Thanks

Re: ClickBank Thank You Page

PostPosted: July 20th, 2011, 11:37 pm
by buck415
I've just run one additional test.

I uninstalled the hack, and because I'm using BuddyPress, modified buddypress\bp-themes\bp-default\registration\registration.php to include the required ClickBank text.

That puts the required text on the landing page after a person completes the ClickBank process.

Unfortunately I get the same results as above... the user appears in the network sites area, not the admin sites where they need to be to access the material.

Have I missed a setting somewhere?

Thanks

Re: ClickBank Thank You Page

PostPosted: July 21st, 2011, 12:57 am
by Cristián Lávaque
I'll let Jason get this one because you're running multisite with BuddyPress and I don't have experience with that and how the ClickBank return works in that setup.

Re: ClickBank Thank You Page

PostPosted: July 21st, 2011, 7:12 am
by buck415
Thanks, Cristián.

Jason, please let me know what I can do to help. I can set up a testing environment on a domain that I'm not actively using, and even create and donate a Camtasia tutorial to the s2Member community once this is resolved.

Thank you

Re: ClickBank Thank You Page

PostPosted: July 22nd, 2011, 10:44 pm
by Jason Caldwell
Hi there. Thanks for the great question.
I'm just hitting this thread, but I'll try to answer some of your questions. Let's start with this one.
stephenbuck415 wrote:The default s2Member button generator seems to generate a "Buy Now" button. I'm running membership sites, and would prefer the buttons have a different title such as Join Now or something similar or appropriate for a membership based site. Is there a way I can change the ClickBank button?

Yes, you can tell s2Member's Shortcode to use a different custom image of your own. You'll find the details on this inside your Dashboard, under: s2Member -> ClickBank Buttons -> Shortcode Attributes ( explained ).
image="default" Button Image Location. Possible values: default = use the default ClickBank® Button, http://... = location of your custom Image.

Re: ClickBank Thank You Page

PostPosted: July 22nd, 2011, 10:48 pm
by Jason Caldwell
Excellent question. Thanks for your patience.
stephenbuck415 wrote:ClickBank advised me that my thank you page needs to include the following text:
"Your credit card statement will show a charge from CLKBANK*COM."

The page I am using is:
http://DOMAIN.COM/?s2member_pro_clickbank_return=1

I have made no customizations and seek to use the default install of s2Member Pro as much as possible.
Yea, this is a new issue that has just come up recently. We are in the process of improving this aspect of s2Member Pro, so that ClickBank will be happy with the way things are handled after checkout. In the mean time, please see this thread for workarounds: viewtopic.php?f=4&t=2900&p=28956#p28949

Re: ClickBank Thank You Page

PostPosted: July 22nd, 2011, 10:58 pm
by Jason Caldwell
Thanks for your patience.
~ and thanks for the heads up on this thread.
stephenbuck415 wrote:I've just run one additional test.

I uninstalled the hack, and because I'm using BuddyPress, modified buddypress\bp-themes\bp-default\registration\registration.php to include the required ClickBank text.

That puts the required text on the landing page after a person completes the ClickBank process.

Unfortunately I get the same results as above... the user appears in the network sites area, not the admin sites where they need to be to access the material.

Have I missed a setting somewhere?

Thanks
ClickBank policy has changed in this regard since s2Member was first integrated with ClickBank. We've had many of our Customers tells us that ClickBank is not fond of the alert after checkout ( for whatever reason ). Until this is updated in the next release of s2Member Pro, my suggestion is to configure your ClickBank Product with a Thank-You Page URL of your own ( i.e. create a page with WordPress perhaps ) and use it's URL when you configure your ClickBank Product.

On this custom Thank You Page that you create, please do NOT provide the Customer with a direct link to the registration form, as this would only result in a Level #0 registration, instead of what they actually paid you for. On a Multisite Network, the Customer may not be assigned to the right site in the Network, so this could create a problem two-fold.

Instead, your custom Thank You Page URL should simply thank the Customer for the purchase, and ask them to check their email for further instructions, where s2Member will have sent the Customer your Signup Confirmation Email ( configured with s2Member ), and inside that email, their paid registration link will be made available to them. Upon registration through this link, your Customer will be recognized by s2Member, and the proper Level/Capabilities ( based on their purchase ) will be assigned automatically.

OR, another alternative has been posted here, which might work better for experienced developers that would like to work around this issue in the short term. We should have this fixed pretty soon though. Any day now. See: viewtopic.php?f=4&t=2900&p=28956#p28955