Home › Forums › Community Forum › BYPASS Thankyou Page Not Workign
This topic contains 57 replies, has 3 voices. Last updated by Cristián Lávaque 4 years, 5 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Jul 3rd, 2012 at 6:08 pm #18228 | |
|
|
&s2member_pro_clickbank_return_success=http://… Does not redirect to the URL – instead it puts it inside a Click This Button How do we bypass this page totally, do we really need it? Ricky |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Tuesday Jul 3rd, 2012 at 6:21 pm #18229 | |
|
|
OK issues here – besides the one above – The IPN is not creating the account PHP v5.3.10 :: WordPress® v3.4.1 :: s2Member® v120622 :: s2Member® Pro v120622 Ok what this is telling me here is that the POST vars are not being read or inserted. Obviously the IPN is working Need some help on this one here Ricky |
|
Posted: Tuesday Jul 3rd, 2012 at 6:27 pm #18230 | |
|
|
Ok more to add that may help. It seems that it the POST vars are verified but then it SAYS the array ( |
|
Posted: Wednesday Jul 4th, 2012 at 7:34 am #18271 | |
|
|
Hi Ricky. Test CB purchases should work fine if all is set up properly, doesn’t matter if the product wasn’t approved yet. Could you please send all the logs in your s2member-logs folder? Including the “PayPal” ones. s2Member® » Private Contact Form About the ClickBank integration, did you verify that every setting is correctly filled? One mistake I see done normally is not setting the IPN to version 2.1 in ClickBank. [hilite path]Dashboard -› s2Member® -› ClickBank® Options -› IPN v2.1 Integration[/hilite] |
|
Posted: Thursday Jul 5th, 2012 at 11:51 am #18396 | |
|
|
Hey Ignore the email i just sent to your support form, It started working once I changed it to 2.1 :) Now few things here, i guess i’m confused with the process 1) &s2member_pro_clickbank_return_success=http://… Does not redirect to the URL – instead it puts it inside a Click This Button I need to bypass this page. 2) I see that it sends out an email from s2 with a link to create an account after purchase 3) Where do i modify the create account form (were using Buddy Press) 4) I have an upsell after the 1st clickbank purchase (which is a level 2 upgrade) 5) Is there a way i can use clickbanks 1click Upsell here? Thanks |
|
Posted: Friday Jul 6th, 2012 at 7:32 am #18460 | |
|
|
Great!
That’s odd… You should be taken to the URL, not just given the link. Could you check your logs to make sure everything’s fine with the checkout? I can confirm it works because I’ve setup ClickBank with s2Member before to use this and it redirected one to the URL after checkout. Actually, the thank-you URL for the product in ClickBank didn’t have the variable, so I created a very simple hack in my mu-plugins dir: [hilite pre_code] You mean a list of people that paid but haven’t register yet? No, s2Member doesn’t have this yet. We’re improving it in the new s2 being developed, but I don’t know what to suggest to do it in the current one.
If you’re using the BuddyPress registration form, you’d need to check with them how to customize it. Or do you mean the custom profile fields that s2Member makes possible? [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]
If they were logged in to the account when they clicked the ClickBank button generated with the shortcode, then yes. Are they both single payments, both recurring, or mixed?
Sorry, this is not supported yet. I hope that helps! |
|
Posted: Friday Jul 6th, 2012 at 12:20 pm #18491 | |
|
|
Hey Thanks for getting back to me 1) <?php Where do I put this? I dont see a mu_plugin dir 2) Thats fine I will create my own, however. I need to know a few things, where does the Token Also, how does it verify that it was a successfull payment, so that the use can create an account 3) Thanks! 4&5) These are both recurring. Now say the user buys the First Recurring product. He will be sent to Thanks! |
|
Posted: Friday Jul 6th, 2012 at 10:53 pm #18510 | |
|
|
/wp-content/mu-plugins/s2hacks.php If you don’t have the folder or file, just create it. :)
The short link is created in this file: s2member\includes\classes\utils-urls.inc.php. The link isn’t stored anywhere, it’s just sent to the user. You could hack the file to save a copy of the link somewhere. You can use other URL shortening services, too. [hilite path]Dashboard -› s2Member® -› General Options -› URL Shortening Service[/hilite]
When the person is taken from ClickBank to your site’s [hilite mono]s2member_pro_clickbank_return[/hilite] URL, s2Member reviews the data ClickBank includes there and s2Member, after confirming the payment was done, sets a cookie in the user’s browser that will let him register (even when registrations are closed) and give him the access he just paid for. There are rare exceptions when s2 can’t confirm the payment right away because of a delay in ClickBank, so the user won’t be able to register with a regular link to the registration page, but the special registration link in the Confirmation Email will still be sent as soon as possible and that link includes authentication that will let him register and give the paid access to the new account too. The successful payment is not stored in the database either, only in the logs if you have those enabled. If the registration link is being sent in the confirmation email, then the payment was successful in s2Member’s eyes, and you could go with that.
I see. s2Member currently only works with a single subscription. If the user started a new subscription, then s2Member would replace the previous one with the new one.
Yes, this, and several things related to the previous points mentioned, are being improved in or considered for the new s2Member being developed. :) |
|
Posted: Sunday Jul 8th, 2012 at 9:37 pm #18635 | |
|
|
Hi Can you point me to the files that handle the subscription logic for clickbank? I need to write Thanks |
|
Posted: Sunday Jul 8th, 2012 at 9:50 pm #18636 | |
|
|
s2member-pro\includes\classes\gateways\clickbank but it processes it partly through the PayPal code. And you’d also need to modify the EOT code so it knows how to handle the EOT behavior for separate subscriptions, too. |
|
Posted: Sunday Jul 8th, 2012 at 9:53 pm #18637 | |
|
|
Ok – I love the challenge, tho im on a tight time schedule. Is there any way I can contract you for custom work, as you seem to know the code already. I mean ill have no choice but to hack at it. But I figured Id ask :) |
|
Posted: Sunday Jul 8th, 2012 at 10:13 pm #18638 | |
|
|
I’m sorry, we’re not taking customization jobs, Jason’s hands are full at the moment. :/
Yeah, I know how that is. And you need to have two subscriptions in a single blog? Wouldn’t it work to have a separate blog for each? |
|
Posted: Monday Jul 9th, 2012 at 10:55 am #18668 | |
|
|
Hey Cristian Unfortunately, the second subscription is just an upgrade to access more areas in the members site. What would really need to happen is – If user is Level 1 and EOT then level 0 OR if user is level 2 and EOT then level 1. The issue with that logic. Is if they cancel level 1 & 2 – and they are level 2, then EOT should be level 0 So that sparks a question. How does s2 know to upgrade a current user to level 2 and the EOT a level 2? Thanks |
|
Posted: Monday Jul 9th, 2012 at 4:48 pm #18702 | |
|
|
OK, after looking through the code that is very deeply nested in architecture, a little guidence in code flow 1) Where does it downgrade or upgrade a member, i see that it funnels through PayPal. So im trying to figure out 2) If you can explain the flow process a bit here would be greatly helpful. Thanks |
|
Posted: Monday Jul 9th, 2012 at 6:05 pm #18708 | |
|
|
Hey Guys The code is WAY to embeded to store 2 subscriptions. It seems that 80% of the code needs to be |
|
Posted: Monday Jul 9th, 2012 at 6:09 pm #18709 | |
|
|
it be nice if you can get the lead devloper here, to post his thoughts on the registration flow.. cause I see 2 sets of paypals files and alot of redirects.. its just way to complex of code to start hackin at without knowing some things about it first… i’m on a tight schedule here.. so your guidance in getting some of these questions here will help greatly |
|
Posted: Monday Jul 9th, 2012 at 7:30 pm #18720 | |
|
|
I may be missing something here, but s2Member already supports multiple levels of membership without any code changes. |
|
Posted: Monday Jul 9th, 2012 at 7:43 pm #18724 | |
|
|
Lee, what he’s trying to hack is supporting multiple subscriptions (recurring payments) with separate EOTs for a single user. Richard, that’s partly why we’re rewriting s2Member. :) I’m emailing Jason now in case he has any tips for you to do this. |
|
Posted: Monday Jul 9th, 2012 at 8:21 pm #18730 | |
|
|
Hey Guys Thanks for helping out here, the code flow is just so embeded and there is so much verfication going on The other thing that needs to be done here, is after the sucessfull purchase, i need to take the user Thanks! |
|
Posted: Monday Jul 9th, 2012 at 9:49 pm #18738 | |
|
|
Well, if you want to have the registration form in the same thank-you page, then you can do your own verification whether or not the person just paid successfully or not. If he did, show the registration pro-form, with the proper level and ccaps. This registration form will let anyone register, even if registrations are closed, so make sure you only show it to someone that qualifies. |
|
Posted: Monday Jul 9th, 2012 at 10:08 pm #18744 | |
|
|
Hey Cristian Im trying to get the register link into continue button on the thank you page
But I have NO idea how to access these variables on the thank you page.. this is getting very fustrating here.. there should be an option to send the user to a registration page after signup |
|
Posted: Monday Jul 9th, 2012 at 10:24 pm #18745 | |
|
|
All in need to do, is give them a link to the register page on the thank you page how the heck can you do this? |
|
Posted: Monday Jul 9th, 2012 at 10:25 pm #18746 | |
|
|
You don’t need a special link there, just a regular link is fine. If the user checked out fine and came to your thank-you page through the s2member_pro_clickbank_return URL, then he’d have been cookied by s2Member to let him register, even if registrations are closed, and give him the access he paid for. |
|
Posted: Monday Jul 9th, 2012 at 10:27 pm #18747 | |
|
|
Also, you could just set the thank-you page to be the registration form at wp-login.php?action=register. You’d need to customize it a bit so it has the info that ClickBank requires, that’s all. |
|
Posted: Monday Jul 9th, 2012 at 10:39 pm #18749 | |
|
|
Ok I just figured that out.. basiclly if the cookies are not there it wont allow access. Thats great! One down one more to go.. if your Lead Dev can give me some insight as to where i should be modifying the multiple subscription proccess would be aweome. Thanks |
|
Posted: Tuesday Jul 10th, 2012 at 2:58 am #18780 | |
|
|
I just got off the chat with him and he’s really sorry, but he isn’t able to give customization support right now. On top of the development, which is close to beta stage, he’s working on pending emails he hasn’t checked in over a week, and only responding to those that seem to be a problem with the default s2Member, skipping customization questions. He’d normally write good advice for those, but right now he’s sorry he can’t do them immediately. I hope you understand. :/
Great! :) About the concurrent subscriptions… The EOT part would be the simplest, just disable the automatic behavior and handle those manually, or with a custom script called by the EOT notification. You could add a second subscription to the same account, but merging the amounts into one. Then the single one would end and the subscription for both together would start. It’d work fine until the guy wanted to stop only one of them, then going back to just one would be a problem because he’d have to start that subscription again. Another option is to have the person register a new account for the second subscription… Then you won’t have to hack anything, only explain it in some way that makes sense. If the registration is kept simple, it wouldn’t be too big a problem. The issue would be that the same email address can’t be used in both accounts. Anyway, I’m throwing ideas that may help you achieve this faster and with less trouble. |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.