I set these through the settings, see attached snapshot, and I received the url errors.
I tried this:
[[smCheckout &return_id=`40` &cancel_id=`38` &fail_id=`39` ]]
and the url errors are now gone.
There is still no content generating on the page and there is a list of errors I'm not sure how to follow.
[2011-10-16 17:18:36] (ERROR @ /index.php) Fired SubscribeMe plugin on event: OnWebPageInit for user 2
[2011-10-16 17:18:36] (ERROR @ /index.php) SELECT smSubscription.sub_id as sub_id, smSubscription.product_id as product_id, smSubscription.expires as expires, ProdPerms.usergroup as usergroup, ProdPerms.role as role, UserGroupMember.id as ugm_id FROM `sm_subscription` AS `smSubscription` RIGHT JOIN `sm_product_permissions` `ProdPerms` ON smSubscription.product_id = ProdPerms.product_id LEFT JOIN `member_groups` `UserGroupMember` ON (
UserGroupMember.member = smSubscription.user_id AND
UserGroupMember.user_group = ProdPerms.usergroup AND
UserGroupMember.role = ProdPerms.role) WHERE ( ( `smSubscription`.`user_id` = 2 AND `UserGroupMember`.`id` > '0' ) AND NOT EXISTS(SELECT smSubscription.sub_id as sub_id, smSubscription.product_id as product_id, smSubscription.expires as expires, ProdPerms.usergroup as usergroup, ProdPerms.role as role, UserGroupMember.id as ugm_id FROM `sm_subscription` AS `smSubscription` RIGHT JOIN `sm_product_permissions` `ProdPerms` ON smSubscription.product_id = ProdPerms.product_id LEFT JOIN `member_groups` `UserGroupMember` ON (
UserGroupMember.member = smSubscription.user_id AND
UserGroupMember.user_group = ProdPerms.usergroup AND
UserGroupMember.role = ProdPerms.role) WHERE ( `smSubscription`.`user_id` = 2 AND `UserGroupMember`.`id` > '0' ) AND smSubscription.expires > NOW()) )
[2011-10-16 17:18:36] (FATAL @ /index.php) Nothing needs to be taken care of!
[2011-10-16 17:18:36] (FATAL @ /index.php) SELECT smSubscription.* FROM `sm_subscription` AS `smSubscription` WHERE ( ( `smSubscription`.`user_id` = 2 AND `smSubscription`.`active` = 1 AND `smSubscription`.`expires` < NOW() ) AND NOT EXISTS(SELECT `id` FROM `sm_product_permissions` AS `smProductPermissions` WHERE `smSubscription`.`product_id` = `smProductPermissions`.`product_id` ) )
[2011-10-16 17:18:36] (FATAL @ /index.php) Found 0 subscriptions to action.
[2011-10-16 17:18:36] (FATAL @ /index.php) Nothing to do.
[2011-10-16 17:18:37] (ERROR @ /index.php) Fired SubscribeMe plugin on event: OnWebPageInit for user 2
[2011-10-16 17:18:37] (ERROR @ /index.php) SELECT smSubscription.sub_id as sub_id, smSubscription.product_id as product_id, smSubscription.expires as expires, ProdPerms.usergroup as usergroup, ProdPerms.role as role, UserGroupMember.id as ugm_id FROM `sm_subscription` AS `smSubscription` RIGHT JOIN `sm_product_permissions` `ProdPerms` ON smSubscription.product_id = ProdPerms.product_id LEFT JOIN `member_groups` `UserGroupMember` ON (
UserGroupMember.member = smSubscription.user_id AND
UserGroupMember.user_group = ProdPerms.usergroup AND
UserGroupMember.role = ProdPerms.role) WHERE ( ( `smSubscription`.`user_id` = 2 AND `UserGroupMember`.`id` > '0' ) AND NOT EXISTS(SELECT smSubscription.sub_id as sub_id, smSubscription.product_id as product_id, smSubscription.expires as expires, ProdPerms.usergroup as usergroup, ProdPerms.role as role, UserGroupMember.id as ugm_id FROM `sm_subscription` AS `smSubscription` RIGHT JOIN `sm_product_permissions` `ProdPerms` ON smSubscription.product_id = ProdPerms.product_id LEFT JOIN `member_groups` `UserGroupMember` ON (
UserGroupMember.member = smSubscription.user_id AND
UserGroupMember.user_group = ProdPerms.usergroup AND
UserGroupMember.role = ProdPerms.role) WHERE ( `smSubscription`.`user_id` = 2 AND `UserGroupMember`.`id` > '0' ) AND smSubscription.expires > NOW()) )
[2011-10-16 17:18:37] (FATAL @ /index.php) Nothing needs to be taken care of!
[2011-10-16 17:18:37] (FATAL @ /index.php) SELECT smSubscription.* FROM `sm_subscription` AS `smSubscription` WHERE ( ( `smSubscription`.`user_id` = 2 AND `smSubscription`.`active` = 1 AND `smSubscription`.`expires` < NOW() ) AND NOT EXISTS(SELECT `id` FROM `sm_product_permissions` AS `smProductPermissions` WHERE `smSubscription`.`product_id` = `smProductPermissions`.`product_id` ) )
[2011-10-16 17:18:37] (FATAL @ /index.php) Found 0 subscriptions to action.
[2011-10-16 17:18:37] (FATAL @ /index.php) Nothing to do.
BTW: Took me a while to find this, so for anyone having trouble finding the chunk templates, you have to go to the file management: /core/components/subscribeme/elements/chunks/
There you will find the smListProducts.outer.tpl chunk to set the optionsResource to get to the smCheckout page you defined.
[[!FormIt?
&hooks=`smNewSubscription`
&optionsResource=`36`
]]
<p>Choose the product you would like to subscribe to:</p>
<ul class="products">
[[+products]]
</ul>
Would be nice if this was in the settings too. Although I'm not having much luck with the settings anyways.
I would be happy to help out on documentation, there is still plenty I'm not clear on. Like what is the product permissions used for. I've tried a few different things here to see if that might be my problem, just not even sure what that does.
Thanks for the help.