We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1ae5ef commit 64f7135Copy full SHA for 64f7135
src/Gateways/PaymentMethods/WCGatewayMoneiCC.php
@@ -341,7 +341,7 @@ class="wc-block-components-validation-error"
341
*/
342
public function monei_scripts() {
343
// If merchant wants Component CC or is_add_payment_method_page that always use this component method.
344
- if ( $this->redirect_flow && ! is_checkout() && ! is_add_payment_method_page() && ($this->handler && ! $this->handler->is_subscription_change_payment_page() ) ) {
+ if ( $this->redirect_flow || (! is_checkout() && ! is_add_payment_method_page() && ($this->handler && ! $this->handler->is_subscription_change_payment_page() ) ) ) {
345
return;
346
}
347
0 commit comments