Way of only displaying certain Accelerated Checkout button providers in cart?

We are attempting to do some A/B testing with showing/hiding a specific provider in our slider cart (Apple Pay), however since the transition to web components and closed shadow DOM for the buttons, I’m not sure if there’s a way of only showing/hiding one provider at a time without disabling the payment option in the admin. Can anyone clarify if this is possible? Attempted with CSS only but the components retain their structure when attempting that. It seems like this should be possible but the variables provided by Shopify are quite limited.

Thanks!

Hi Tannerk,

It doesn’t look like there’s an easy way to display only one of the accelerated checkout buttons, you could try targeting the buttons with event listeners but that may not be very reliable. I’ve passed on this feedback to our team though - and possibly other members of the community will have advice on available options.