Statistics: Posted by natecroy — August 12th, 2011, 11:17 pm
Statistics: Posted by ZebEl — August 9th, 2011, 4:24 pm
Statistics: Posted by Cristián Lávaque — August 9th, 2011, 1:29 pm
Statistics: Posted by Cristián Lávaque — August 9th, 2011, 11:42 am
Statistics: Posted by natecroy — August 8th, 2011, 8:37 pm
Statistics: Posted by dhempy — August 8th, 2011, 9:00 am
Generating and validating the vouchers is beyond the scope of s2member, albeit there are hooks to support doing that. I missed where the vouchers get generated...I suppose that would be the result of the shopping cart purchase, pretty well unrelated to the manager's account. Yes?
Yes, the generation of Voucher Codes and the validation of them, are both something that would need to be custom coded.
I assume the developer (me) would write a script to create the 50 vouchers in the database and display/email the codes/links to the manager. Is there a hook on purchase completion using s2member's Buy Now forms where I could trigger that script?
Yes, you've got it.
On the voucher side of things, to be implemented by us, presumably the employee voucher would be linked to the manager's account, and perhaps other reports (developed locally) would show redemption status and such. Again, all this would occur outside s2member.
Did I get that pretty much right?
Perhaps in the future, but honestly, I wouldn't look for this to come anytime soon, as we are working to develop/further s2Member in other ways that are/will take precedence over this. Sorry.
Now, the big question...is this something s2member is considering developing? While all this is within our development abilities, I'm looking to use as much off-the-shelf functionality as I can on this project.
Statistics: Posted by Jason Caldwell — August 6th, 2011, 1:00 pm
Statistics: Posted by dhempy — August 5th, 2011, 4:44 pm
<?php
add_filter("ws_plugin__s2member_sp_access_link_gen_alternative", "my_sp_access_link_shrinker");
function my_sp_access_link_shrinker($raw_sp_access_link)
{
$raw_sp_access_link .= "&quantity=xx";
return ($tinyurl = c_ws_plugin__s2member_utils_urls::remote ("http://tinyurl.com/api-create.php?url=" . rawurlencode ($raw_sp_access_link)));
}
?>
Statistics: Posted by Jason Caldwell — May 23rd, 2011, 4:07 am
Statistics: Posted by Cristián Lávaque — May 20th, 2011, 1:53 pm
Statistics: Posted by natecroy — May 20th, 2011, 12:25 pm
Statistics: Posted by Cristián Lávaque — May 20th, 2011, 12:08 pm
Statistics: Posted by Cristián Lávaque — May 19th, 2011, 4:50 pm
Statistics: Posted by Cristián Lávaque — May 19th, 2011, 4:14 pm
Statistics: Posted by natecroy — May 19th, 2011, 1:49 pm
Statistics: Posted by natecroy — May 19th, 2011, 1:23 pm
Statistics: Posted by Jason Caldwell — March 31st, 2011, 12:37 am
Statistics: Posted by natecroy — March 27th, 2011, 2:14 pm
Statistics: Posted by Jason Caldwell — March 27th, 2011, 7:45 am
Statistics: Posted by natecroy — March 26th, 2011, 9:32 pm