Forums / Managing Customers and Orders / Customer Authorization - Can I Change while they're still logged in?

Customer Authorization - Can I Change while they're still logged in?

Locked

Started by eplutons on 5 Jan 2009, 9:02 AM · Views: 1,328

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
5 Jan 2009, 9:02 AM
#1
eplutons avatar

eplutons

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Customer Authorization - Can I Change while they're still logged in?

Is it possible to do this? ...
While a customer is logged in and his authorization is set to 'Approved', can I edit it to 'Pending Approval: May browse with prices but may not buy' and have that reflected as soon as the customer goes to another page on my site without having to relog? The reason is that I sell digital goods and if it's a customer I just approved, I like to watch the contents of his cart by refreshing the 'Who's Online' page in the admin panel. If I see the customer is loading up with all of the products, it is very likely to be fraudulent so I would like to terminate his/her ability to buy immediately without the user having to relog. Does this make sense? If so, how could this be implemented?
I am using the newest Zen Cart version.

Thanks!

5 Jan 2009, 9:25 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Customer Authorization - Can I Change while they're still logged in?

My initial thought would be no. The customer authorisation level is set when the customer logs in and stored in his "session".

Although Zen Cart recognizes that as an Admion you have more control, to your server you are just two different sessions and for security reasons it will not want one session user changing session data for another.

However, there may be an additional check against the database at the actual point of checkout, though I think that unlikely and don't remember seeing one.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Jan 2009, 4:29 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Authorization - Can I Change while they're still logged in?

If a customer is logged in and not yet approved, you can change it and that will work on the current session as unapproved customers are checked ...

However ...

If a customer is logged in and already approved and you change it to non-approved, that is not going to change for the customer until the next session as the test is not done on approved customers, just on non-approved customers to be able to update them to be able to buy immediately ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Jan 2009, 4:32 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Customer Authorization - Can I Change while they're still logged in?

Useful update. Hats off and thanks to the elf!

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Jan 2009, 9:02 PM
#5
eplutons avatar

eplutons

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Re: Customer Authorization - Can I Change while they're still logged in?

Thanks so much for the responses thus far! Would someone know what kind of code modification I can do to update the session for non-approved to buy while browsing?

7 Jan 2009, 2:34 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Authorization - Can I Change while they're still logged in?

I am not following you ... :unsure:

If a customer is NOT approved, the setting is checked on each click ...

If a customer IS approved, the setting is no longer checked on each click ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!