Forums / All Other Contributions/Addons / Snap Affiliates v2.0 for v1.5.0 and later

Snap Affiliates v2.0 for v1.5.0 and later

Views: 68,399

Results 441 to 460 of 464
28 Oct 2021, 6:45 PM
#441
craftcorner avatar

craftcorner

New Zenner

Join Date:
Dec 2017
Location:
Anderson, IN
Posts:
44
Plugin Contributions:
0

Snap Affiliates v2.0 for v1.5.0 and later

lat9:

Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1635

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?

28 Oct 2021, 7:10 PM
#442
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

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?

28 Oct 2021, 9:20 PM
#443
craftcorner avatar

craftcorner

New Zenner

Join Date:
Dec 2017
Location:
Anderson, IN
Posts:
44
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

1.5.7 is the ZC version, PHP 8.1? At least PHP 8. Not sure of the template.

28 Oct 2021, 9:22 PM
#444
craftcorner avatar

craftcorner

New Zenner

Join Date:
Dec 2017
Location:
Anderson, IN
Posts:
44
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

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.

29 Oct 2021, 11:35 AM
#445
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

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".

29 Oct 2021, 1:42 PM
#446
craftcorner avatar

craftcorner

New Zenner

Join Date:
Dec 2017
Location:
Anderson, IN
Posts:
44
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

lat9:

Sure, that would let me "see for myself".

Sent you the info in private message. :)

29 Oct 2021, 2:29 PM
#447
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

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.

29 Oct 2021, 3:18 PM
#448
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

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.

29 Oct 2021, 8:05 PM
#449
craftcorner avatar

craftcorner

New Zenner

Join Date:
Dec 2017
Location:
Anderson, IN
Posts:
44
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

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.

29 Oct 2021, 8:26 PM
#450
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

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.

30 Oct 2021, 6:10 PM
#451
craftcorner avatar

craftcorner

New Zenner

Join Date:
Dec 2017
Location:
Anderson, IN
Posts:
44
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

lat9:

... 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.

Got it. My web person is looking at it now. Thanks!

22 Mar 2022, 8:59 PM
#452
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: Snap Affiliates v2.0 for v1.5.0 and later

Before I embark in one of my crazy attempts, I wanted to ask, is it possible to use an external server to host the images?

M.Valenti
Contemporary Artist - Entrepreneur
http://www.manuelavalenti.com - http://www.byvalenti.com

22 Mar 2022, 10:19 PM
#453
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,864
Plugin Contributions:
18

Re: Snap Affiliates v2.0 for v1.5.0 and later

mvstudio:

Before I embark in one of my crazy attempts, I wanted to ask, is it possible to use an external server to host the images?So.... Hypothetically.
You're living in San Francisco and drive to San Diego each day to change cars and drive to work in LA?

Some folks think it might be helpful but, I just can't see it in an e-commerce environment. Zen Cart structuring would have to be changed dramatically.

Just lag time for operation would be a definite no for me. Of course, there are a myriad of other reasons as well. I can just see the PCI folks salivating thinking about once again making the big bucks "securing your site."

:no:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

22 Mar 2022, 11:33 PM
#454
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: Snap Affiliates v2.0 for v1.5.0 and later

dbltoe:

So.... Hypothetically.
You're living in San Francisco and drive to San Diego each day to change cars and drive to work in LA?

Some folks think it might be helpful but, I just can't see it in an e-commerce environment. Zen Cart structuring would have to be changed dramatically.

Just lag time for operation would be a definite no for me. Of course, there are a myriad of other reasons as well. I can just see the PCI folks salivating thinking about once again making the big bucks "securing your site."

:no:

Yeah, I figured it was a dumb idea the moment I hit that post reply button :laugh:
Thanks nonetheless.

M.Valenti
Contemporary Artist - Entrepreneur
http://www.manuelavalenti.com - http://www.byvalenti.com

12 Nov 2022, 12:17 PM
#455
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

Anyone coming here from JROX JAM:
It appears that JAM is now abandonware - you have to bypass browser protections even to download it because they didn't renew the SSL certificate; the version of PHPMailer that's being used is old and insecure; the help pages no longer work.

So SNAP might be your best plan for moving forward.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

20 Feb 2023, 10:02 PM
#456
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

In Admin > Referrers, I clicked the Home-page Link (main_page=index&referrer=CNWR_....), added an item to my cart and checked out.

Back in admin, I refreshed Referrers and did not see the order in their Orders Total.

What did I do wrong? Enable Storefront Processing is set to true.
Zen Cart 1.5.7d, PHP 7.3, Chrome.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

21 Feb 2023, 11:34 AM
#457
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

swguy:

In Admin > Referrers, I clicked the Home-page Link (main_page=index&referrer=CNWR_....), added an item to my cart and checked out.

Back in admin, I refreshed Referrers and did not see the order in their Orders Total.

What did I do wrong? Enable Storefront Processing is set to true.
Zen Cart 1.5.7d, PHP 7.3, Chrome.
It's been a while since I used/touched that plugin, but I'm* pretty sure* that there's a configuration setting that indicates the order-status(es) for which an affiliate-related purchase counts towards a referrer's account balance.

21 Feb 2023, 12:25 PM
#458
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

There's a setting which shows which should be skipped, but not one which shows which should be used. And the skipped column is empty.

  • Is my technique for testing valid?
  • Is there a way I can verify the creation of the cookie on the storefront?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

21 Feb 2023, 3:47 PM
#459
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

Use the browser's "Developer's Tools" and look at the cookies to see if the cookie's recorded.

21 Feb 2023, 4:13 PM
#460
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

Thanks for your guidance. The cookie was there and when I ran an order using the link from My Account > Affiliate Marketing Tools (done in a separate browser so it wouldn't be a self-commission) everything worked ok; I think I had finger trouble or perhaps hadn't turned on Admin > Configuration> Affiliate Program > Enable Storefront Processing yet.

No trouble found! :)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.