Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I am on the checkout page there is a customer information pane with the users email and an edit button. When you click the edit button you are redirected to the users account edit page. If you change the email address on that page you are redirected back to the checkout page. Unfortunately the email on the checkout page is still the old one and if you complete the order all emails get sent to the old address as well.
Comment | File | Size | Author |
---|---|---|---|
#8 | 1857618-checkout-email-change-test-only.patch | 1.4 KB | longwave |
#8 | 1857618-checkout-email-change.patch | 3.04 KB | longwave |
#7 | 1857618-checkout-email-change.patch | 3.04 KB | longwave |
#5 | 1857618-checkout-email-change.patch | 3.09 KB | longwave |
#3 | 1857618-checkout-email-change-test-only.patch | 1.37 KB | longwave |
Comments
Comment #1
StevenJay CreditAttribution: StevenJay commentedThis is a fix I am using. You can add it to any module since it only uses hook_user_update. I haven't done much testing with it so use as a starting point.
Comment #2
longwaveThe attached patch fixes this issue, including a test.
Comment #3
longwaveComment #4
longwaveCommitted #3, should be ported to 6.x for consistency.
Comment #5
longwaveComment #7
longwaveComment #8
longwaveComment #9
longwaveCommitted to 6.x - even though it's not strictly needed, we get some new tests.