File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Gateways/PaymentMethods Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public function __construct(
112112 $ this ->subscriptions_service = $ subscriptionService ;
113113 $ this ->handler = $ this ->subscriptions_service ->getHandler ();
114114 if ( $ this ->handler ) {
115- $ this ->supports = $ this ->handler ->init_subscriptions ($ this ->supports , $ this ->id );
115+ $ this ->supports = $ this ->handler ->init_subscriptions ( $ this ->supports , $ this ->id );
116116 }
117117
118118 add_action (
@@ -341,7 +341,7 @@ class="wc-block-components-validation-error"
341341 */
342342 public function monei_scripts () {
343343 // 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 () ) ) ) {
344+ if ( $ this ->redirect_flow || ( ! is_checkout () && ! is_add_payment_method_page () && ( $ this ->handler && ! $ this ->handler ->is_subscription_change_payment_page () ) ) ) {
345345 return ;
346346 }
347347
You can’t perform that action at this time.
0 commit comments