Home › Forums › Richard Mataka
Richard Mataka
My Latest Replies (From Various Topics)
Author | Replies |
---|---|
Author | Replies |
Posted: Wednesday Jul 11th, 2012 at 9:43 pm #18970 | |
|
|
Hey Chris I found an important piece of code here if ($existing_role !== $demotion_role) /* Only if NOT the existing Role. */ Maybee if i can tell that EOT this script was processing I can tell how to demote the users role Since you only store 1 subscription and EOT. Then its basically going to demote the user to the s2 options demotion level no matter what The question i have here – is any of the IPN variables available at this point. this way i can tell if so then the question here is – say the stored IPN is LEVEL 1 and then they buy LEVEL 2 – is the stored I guess my answers will be in the subsciber modify file – im going to keep on digging. However one thing that And sorry to be a pain – but – I see alot of apply_filters() but when i search for the filter name like ws_plugin__s2member_user_access_role I cannot find function s2member_user_access_role() Anyway thanks again Ricky Thanks |
|
Posted: Wednesday Jul 11th, 2012 at 9:06 pm #18969 | |
|
|
Hey Chris Few things 1) Can you tell me why this is needed in every class eval (‘foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;’); 2) In registrations.inc.php ms_validate_user_signup() Is this used to validate the transients ? Cause i see ms_ (multi site) and then non ms_ functions Thanks Bud |
|
Posted: Wednesday Jul 11th, 2012 at 8:29 pm #18966 | |
|
|
Hey Christian Thanks for the informative and deatiled response. This should be what i need to try to patch and modify s2member\includes\classes\paypal-notify-in-subscr-or-wa-w-level.inc.php Files is what really handles the user subscriptions as far as upgrading and adding to user accounts Thanks again bro! |
|
Posted: Tuesday Jul 10th, 2012 at 5:43 pm #18837 | |
|
|
Hi Christian Thanks for the input here. It seems almost impossible by design to be able to achieve concurrent subscriptions without haveing to rewrite the core payment framework, which I dont have time to do. So this leaves me in a pickle here. If I have to move to WishList, which they say can do it, i have to undoo a shit Im a lead developer myself with 11 years experince. I understand work load, but in not asking for detailed 1) Clickbank Returns – THIS FILE I just need the flow and I may be able to come up with a patch. This issue is you have 2 sets of PayPal files I had wasted 6 hours yesterday going through the files… the naming conventions are hard to follow as I dont understand the core (I guess good Job Security LOL) Anyway – if I disable the EOT that means that the members will happily have access even on a cancellation. So i guess we can just do this manually then. (thats another thing) I dont see any clickbank EOT files. where is this in PayPal? I seems that everything is routed in PayPal. – So is this the s2members folder or the /pro/ folder paypal files then you have PDN and IPN retunrs… its just confusing really to be honest with you. Anyway so if i disable the EOT then a customer refunds I would have to manually adjust access. Now you mention a script? Can i write any EOT hacks there? Once thing I really dont get is th IPN storage – transets – why this is in the wp_options table makes no sense to me Anyway if you can give me some flow insights – hook work arounds im not aware of to hack functionality of Ricky |
|
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: 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: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 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 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 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 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 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: 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 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: 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: 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: 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: 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 5:39 pm #18225 | |
|
|
Ok just incase anybody is banging there head on this one here I figured it out
do then you would just access like this (assumes /members/ has your WP installation) Where Type would control the IF statement as to which shortcode to execute Now you can simply link any sales button OUTSIDE of wordpress or s2 with the links Cheers! |
|
Posted: Tuesday Jul 3rd, 2012 at 4:21 pm #18221 | |
|
|
Hi I found the shot code that generated the clickbank buy button. I need to get that shoertcode output outside of WORDPRESS totally. So i would have to mimick the what s2 is currently doing.. what concerns me here is the invoice and signature variables. Can I please get someone to help me understand what needs to be passed to clickbank in order to have a successful s2 member level transaction. THanks |
|
Posted: Tuesday Jul 3rd, 2012 at 12:25 pm #18198 | |
|
|
Awesome dude, i kindof figured that out last night :) Ricky |
|
Posted: Tuesday Jul 3rd, 2012 at 12:18 pm #18195 | |
|
|
Awesome dude! Thanks! |