Closed (duplicate)
Project:
Commerce Core
Version:
3.x-dev
Component:
Payment
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2026 at 09:48 UTC
Updated:
24 Sep 2026 at 13:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jsacksick commentedReading PaymentMethodAccessControlHandler, if the user setting the default payment method has the "update any commerce_payment_method" permission, or the "administer commerce_payment_method" permission, the opration should be allowed, see below:
Comment #3
jsacksick commentedHaven't tried this myself, but any chance you can test granting the right permissions and get back to us?
Comment #4
tonytheferg commentedYes, all permissions are enabled for admin. Sorry I left that out. Added that to steps to reproduce.
Comment #5
tonytheferg commentedPatch per Claude. Didn't have time to create an MR. Have a look when you get time. Thanks!
Comment #6
jsacksick commentedAn MR would be preferable if possible :).
Comment #7
tonytheferg commentedI know. Sorry. I'd have to switch my env. to dev, etc, and I don't have that set up currently. Sorry. Hopefully I've provided some help.
Comment #9
jsacksick commentedClosing this in favor of #3576243: Do not allow "Mark as default" operation for the expired or non-reusable payment method.