hide payment method selection where there is only one payment type

Created on 29 November 2012, almost 12 years ago
Updated 30 December 2023, 11 months ago

when there is only one payment method available, the radio for selection shouldn't appear. functionally it's fine, but doesn't make a lot of sense.

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

User experience

Created by

πŸ‡ΊπŸ‡ΈUnited States djdevin Philadelphia

Live updates comments and jobs are added and updated live.
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.

  • πŸ‡¦πŸ‡ΊAustralia thursday_bw

    Closing this out as I wouldn't make such a change in the 1.x branch now but we did fix this in 2.x. : )

    Huh?

    This clearly is not fixed, I've come to this issue after hours of detective work for an issue on commerce_paypal module: Paypal smart buttons showing on cart page not review or payment page πŸ’¬ Paypal smart buttons showing on cart page not review or payment page Active

    Expecting a sitebuilder to add CSS to their theme to get a module to work with a single payment gateway out of the box is just not the correct solution here, in my humble opinion, the fact that I spent days pulling my hair out to wind up here on this issue is a testament to that.

    "when there is only one payment method available, the radio for selection shouldn't appear." 100% when there is only one payment method available the selection for it should not appear, that's just, is that debatable? how so?

    Perhaps in the case of commerce_paypal it is the responsibility of commerce_paypal to take care of this issue? I'm not sure.

    What do we do to resolve this issue? should the commerce module hide the payment information panel if only one payment option is available? that's confusing too because it makes the 'payment inforamation' pane being enabled in the checkout flow confusing as heck if it doesnt' actually appear in this context, it would be enabled but not visible.

    I think it does make sense that the sitebuilder could hide the payment information panel from the checkout flow via config, doing so causes breakage in the commerce_paypal module, so having said that I am thinking it is commerce_paypal's responsibility to deal with this scenario
    but It's worth communicating it.

Production build 0.71.5 2024