Re: Update Snap Affiliates for 1.5x - Version 4.1.3
Quote:
Originally Posted by
lat9
Just had my web person upload the new version. Thanks for the update - it works great on my end. However, my affiliates log in and try to go to their Orders and Payments section, they are prompted to log in again, even though they're already logged in, and it's an endless cycle. Any thoughts?
Re: Update Snap Affiliates for 1.5x - Version 4.1.3
Quote:
Originally Posted by
CraftCorner
Just had my web person upload the new version. Thanks for the update - it works great on my end. However, my affiliates log in and try to go to their Orders and Payments section, they are prompted to log in again, even though they're already logged in, and it's an endless cycle. Any thoughts?
Not initially. What version of PHP and Zen Cart? What template is in use?
Re: Update Snap Affiliates for 1.5x - Version 4.1.3
1.5.7 is the ZC version, PHP 8.1? At least PHP 8. Not sure of the template.
Re: Update Snap Affiliates for 1.5x - Version 4.1.3
Quote:
Originally Posted by
lat9
Not initially. What version of PHP and Zen Cart? What template is in use?
ZC 1.5.7, at least PHP 8, maybe 8.1. Not sure of the template. My web person has a throwaway account set up as a test account if you'd like it, I can message it to you.
Re: Update Snap Affiliates for 1.5x - Version 4.1.3
Quote:
Originally Posted by
CraftCorner
ZC 1.5.7, at least PHP 8, maybe 8.1. Not sure of the template. My web person has a throwaway account set up as a test account if you'd like it, I can message it to you.
Sure, that would let me "see for myself".
Re: Update Snap Affiliates for 1.5x - Version 4.1.3
Quote:
Originally Posted by
lat9
Sure, that would let me "see for myself".
Sent you the info in private message. :)
Re: Update Snap Affiliates for 1.5x - Version 4.1.3
Quote:
Originally Posted by
CraftCorner
Sent you the info in private message. :)
The test-customer's email address got xxx'd out in the PM you sent; please reply via PM.
Re: Update Snap Affiliates for 1.5x - Version 4.1.3
Quote:
Originally Posted by
lat9
The test-customer's email address got xxx'd out in the PM you sent; please reply via PM.
Thanks for that; I see the issue now when I log into the affiliate customer's account and click on the link for the referrer_main page.
The as-shipped version of SNAP Affiliates does a redirect from referrer_main to the login page if a customer's not yet logged in. Your template's rendering of the referrer_main page is what's displaying that "Please login to access your referral statistics".
Check the file /includes/templates/tc/templates/tpl_referrer_main_default.php and compare it to the as-shipped version of that template, which should be in /includes/templates/template_default/templates/tpl_referrer_main_default.php.
Re: Update Snap Affiliates for 1.5x - Version 4.1.3
Quote:
Originally Posted by
lat9
Thanks for that; I see the issue now when I log into the affiliate customer's account and click on the link for the referrer_main page.
The as-shipped version of SNAP Affiliates does a redirect from referrer_main to the login page if a customer's not yet logged in. Your template's rendering of the referrer_main page is what's displaying that "Please login to access your referral statistics".
Check the file /includes/templates/tc/templates/tpl_referrer_main_default.php and compare it to the as-shipped version of that template, which should be in /includes/templates/template_default/templates/tpl_referrer_main_default.php.
The problem is that my affiliates are logging in to their account, then they go to their affiliates page, which is absolutely fine. The issue arises, per my private message to you, when they try to go to their payments page. They are sent into an endless loop of being requested to log in when they go to the payments page, and no matter how many times they try to log in, they are sent back to that request for login when they try to go to the payments page.
Re: Update Snap Affiliates for 1.5x - Version 4.1.3
Quote:
Originally Posted by
CraftCorner
The problem is that my affiliates are logging in to their account, then they go to their affiliates page, which is absolutely fine. The issue arises, per my private message to you, when they try to go to their payments page. They are sent into an endless loop of being requested to log in when they go to the payments page, and no matter how many times they try to log in, they are sent back to that request for login when they try to go to the payments page.
... and as I mentioned in my previous post, that's due to the current template file that's being used on the site. It's not the "standard" referrer_main page template, it asks that the customer log in to view their order-related information.