Hello,
Thanks for the great module, I'm new to FoxyCart but am looking forward to using it with Drupal.
As an unauthenticated user, I was getting a 'permission denied' error when trying to check out, and it looks like it was happening due to the access arguments set up for the foxycart/sso path. See my comments and modification here:
$items['foxycart/sso'] = array(
'title' => 'Foxycart SSO',
'type' => MENU_CALLBACK,
'description' => 'Process Foxycart SSO',
'page callback' => 'foxycart_process_sso',
/* FIXME:(jc) Why check for permission of 'sso'? It's not listed in the foxycart_perm() fn, so I'm not sure how else you'd grant access to it? */
/* Setting access callback to TRUE, since I want unauthenticated users to be able to shop/checkout */
'access callback' => TRUE,
//'access arguments' => array(1)
);
Also, it seems a little confusing on the settings for the module that I must enable SSO in order to allow unauthenticated users the ability to use the shopping cart. I expected that I could turn off SSO and only use the module to integrate FoxyCart and use only their authentication mechanism.
Thanks!
Jared
Comments
Comment #1
kilogauss commentedThanks for the patch Jared! I'll get this updated and take another look at the admin settings. I think I've got an idea on how to clear that up. The "Allow unauthenticated checkout" option really only applies if you have SSO enabled. I agree the UI needs to be fixed. I'll get all of that into a new release very shortly.
Comment #2
jabberw0cky commentedGreat, thanks! Loving it so far.
Comment #3
kilogauss commented