Token.Instance.UserId vis-a-vis PayPal Express Checkout

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
moustafa
Lieutenant (LT)
Lieutenant (LT)
Posts: 54
Joined: Wed Oct 19, 2011 9:54 pm

Token.Instance.UserId vis-a-vis PayPal Express Checkout

Post by moustafa » Wed Jun 27, 2012 11:51 am

Hi there,

Let's say you choose to check out with PayPal Express Checkout and then you change your mind. You'll be presented with a number of payment options on /Checkout/Payment.aspx. These payment options are those that are available for Token.Instance.UserId.

I have the following questions:

1. I never logged into AC, but AC still knew who I was, apparently from the PayPal info. The email address and shipping addresses I used for previous orders are different than the PayPal addresses. I also deleted PayPal payments for all of my previous orders and signed out, but it still knew how I was. How (where?) does it do this.
2. Is there a way to test a first-time PayPal Express Checkout user given that I have, in fact, used the PayPal account in the past? i.e. How do I erase my history?
3. If a user who has never purchased from our store in the past does so through PayPal Express Checkout and then cancels out, what will their Token.Instance.UserId be and what payment methods will be available to them?

Thanks,
Moustafa

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Token.Instance.UserId vis-a-vis PayPal Express Checkout

Post by AbleMods » Fri Jul 06, 2012 10:20 am

moustafa wrote:I never logged into AC, but AC still knew who I was, apparently from the PayPal info
Everyone who browsers your storefront gets a Token.Instance.UserId value. If the shopper is not authenticated to your site, they are anonymous from a web security standpoint. But they still get a UserId value. It doesn't have anything to do with a particular payment method chosen during checkout.

The lifespan of the UserId value is dependent on the Purge-Anonymous-Users-After-X-Days setting in the storefront configuration.

It should stay the same if a shopper reaches checkout, goes to PayPal and then cancels out of Paypal. However Able will still convert the basket to an order as soon as the PayPal button was originally clicked. So the shopper basket will be empty regardless of the actions taken in the PayPal site.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply