Customers cannot modify billing information after adding payment method details

Created on 10 March 2020, over 4 years ago
Updated 7 February 2023, over 1 year ago

This is a weird Checkout + Payment UX problem. After adding their payment method information, the payment method gets tokenized and the user is on the review page. If the user goes back to edit this information, they cannot. They have to re-enter it completely.

We have SupportsUpdatingStoredPaymentMethodsInterface, but I don't recall if this allows editing in Checkout.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Payment

Created by

🇺🇸United States mglaman WI, USA

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States moonagedev

    Hi, I was dealing with the same issue as @rhovland mentioned with commerce_authnet. I've attached a couple small patches, one for commerce and one for commerce_authnet, that solve this problem. Essentially you just need to run updatePaymentMethod() when the payment is submitted and it will update the info on authorize.net. I hope this helps someone.

  • 🇳🇱Netherlands huijse

    I do not see an edit button. Not sure why.. Do I need to configure something take in effect? I am using the latest version of commerce core 2.33

    So besides the ability to add a new cards which is possible I do not see an edit next to the: Visa ending 4242

  • 🇮🇱Israel jsacksick

    @huijse: I think you misunderstood what this issue is fixing.

    There's no support in checkout for updating existing payment methods.

    This was about updating billing information attached to a payment method right after a payment method is added.

Production build 0.69.0 2024