Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Followup to #2820931: Perform payment transaction during checkout.
We want to show Payment in the progress block only if $order->payment_gateway is an instance of the offsite interface.
We'll either need to mark the payment step as always hidden (additional array key in getSteps()) or have a way to hide it unless the $order->payment_gateway is an instance of the offsite interface (parallel methods to getVisibleSteps() and isVisible()).
Comment | File | Size | Author |
---|---|---|---|
#2 | the_payment_step_is-2831945-2.patch | 718 bytes | mglaman |
Comments
Comment #2
mglamanTalked with bojanz, we're just going to hide it, since 90% of use cases won't use it.
Comment #3
mglamanPR https://github.com/drupalcommerce/commerce/pull/718
Comment #5
bojanz CreditAttribution: bojanz at Centarro commentedPushed an expanded fix.