lila icon indicating copy to clipboard operation
lila copied to clipboard

Patron payment receipt gets sent to old email

Open Rickkwa opened this issue 1 year ago • 3 comments

Exact URL where the bug happened

https://lichess.org/patron

Steps to reproduce the bug

  1. Have a lichess account
  2. Change the email associated with the account from the settings page
  3. Go to the Donate page and click the pay with "Credit Card" button
  4. See that the old email is pre-populated on this page and is un-editable. image
  5. After the payment went through, the receipt I received in the email went to the old email address.

What did you expect to happen?

The payment receipt goes to my most current email, the email shown in https://lichess.org/account/email.

What happened instead?

The payment receipt went to my old email.

Operating system and browser version

Windows 10

Google Chrome - Version 103.0.5060.66 (Official Build) (64-bit)

Rickkwa avatar Jul 06 '22 06:07 Rickkwa

Potentially as an additional step to reproduce the issue is to visit the checkout page when the old email is active to trigger the makeCustomer call, and then changing the email.

Rickkwa avatar Jul 06 '22 15:07 Rickkwa

Have you made a stripe donation before changing your lichess email?

ornicar avatar Jul 09 '22 10:07 ornicar

This was my first time donating.

Rickkwa avatar Jul 09 '22 16:07 Rickkwa

I'm having the same issue. I changed my email ID and on the change email(https://lichess.org/account/email) page I can see my new email ID.

But when I go to the Donate page and try to do it with credit card I see my old email ID instead of a new one.

mzfr avatar Aug 28 '22 11:08 mzfr

How soon does it usually take for commits like this to become active on the server?

noctacode avatar Aug 30 '22 11:08 noctacode

Until the server restarts which usually happens at least every ~1-2 weeks. You can see when the last restart on lichess.org/source.

benediktwerner avatar Aug 30 '22 11:08 benediktwerner

Looking at the lichess.org/source it shows the Boot happened 26 hours ago but I'm still having the same issue. My email is different on change email page and something else on the donation page.

mzfr avatar Sep 01 '22 09:09 mzfr

The fix only makes sure that the stripe email is updated when you change it on Lichess. You can change it back and forth or write to [email protected] to fix it when it's already out of date.

benediktwerner avatar Sep 01 '22 21:09 benediktwerner