Closed ghost closed 2 years ago
I've done some debugging and this appears to be a bug in the Stripe extension. With that option disabled, this should return false:
But it does not. For some reason, it's not using the correct configuration. As far as Express Payments are aware, Stripe should be available when it's actually not.
I'll transfer this to the Stripe repository.
It is possible that this issue has been fixed by a more recent release as I’ve been unable to replicate the issue described using the latest release of the core WooCommerce plugin, WooCommerce Blocks feature plugin, and the WooCommerce Stripe Payment Gateway
As I’m unable to reproduce this, I’m marking this Issue as Closed. Please do open a new one if you are able to reproduce this again.
Describe the bug
When using the Cart and Checkout blocks, "-------OR-----" is always displayed, even if payments requests buttons are disabled in Stripe.
To reproduce
Steps to reproduce the behavior:
@AashikP Was able to reproduce the issue on a test environment. Ticket reference: #4252108-zen
Expected behavior
The expected behavior would be to only see the "Proceed to checkout" button without the "-------OR-----", as payment buttons are disabled in the Stripe settings.
Screenshots
Full Size: https://d.pr/i/Q1ZUMm
Environment
WordPress (please complete the following information):