4

When using Digital Goods for Express Checkout, calling DGFlow on a Pay Now button causes the text "Hi Eugene. Not You?" to appear above the Pay Now button. This only occurs when returning to the page and can be replicated by loading the below codepen and refreshing.

This is occurring in both a live and sandboxed environment.

var embeddedPPFlow = new PAYPAL.apps.DGFlow({trigger: 'submitBtn'});

P.S. my name is not Eugene

http://codepen.io/anon/pen/bdvzyX

Code example

patternott
  • 100
  • 4

1 Answers1

1

PayPal adds this greeting to the currently-cookied user on your machine. If you begin the checkout, PayPal will query your (the currently-cookied user) account to begin the checkout process, and depending upon the outcome of security checks may even permit you to check out without logging in again for each payment.

"Eugene" is probably the name on one of your sandbox accounts. PayPal sees that cookie even when running live transactions, but would (of course) not actually permit the sandbox account to make live transactions; when "real" PayPal code runs (once the button is clicked) the sandbox account information would be rejected and the user will be prompted to log in.

This is one of several ways that sandbox and live PayPal cookies can interact a bit oddly; fortunately none of these interactions are fatal and they generally only affect you the developer; your customers will generally not have PayPal sandbox accounts cookied on their computer.

And just as some confirmation, running the provided snippet on my machine does not greet Eugene :).

geewiz
  • 2,206
  • 1
  • 10
  • 16
  • The issue I was experiencing seems to be fixed now. I should have added I had tested it on multiple machines owned by multiple users and in incognito mode and it was still showing "Hi Eugene". This is still good knowledge regarding the cookie interacting with sandbox and live accounts. Thanks – patternott Jul 09 '15 at 00:04