Page 1 of 1

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

Posted: Wed Jun 27, 2012 11:51 am
by moustafa
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

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

Posted: Fri Jul 06, 2012 10:20 am
by AbleMods
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.