From 9b270e5696ab0c1776803a98781027806e3fccca Mon Sep 17 00:00:00 2001 From: "Alex P." Date: Mon, 21 Oct 2024 17:34:41 +0300 Subject: [PATCH] Remove unused --- modules/ppcp-blocks/resources/js/checkout-block.js | 2 +- modules/ppcp-blocks/src/PayPalPaymentMethod.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/ppcp-blocks/resources/js/checkout-block.js b/modules/ppcp-blocks/resources/js/checkout-block.js index 89ec756be..6dcd7689c 100644 --- a/modules/ppcp-blocks/resources/js/checkout-block.js +++ b/modules/ppcp-blocks/resources/js/checkout-block.js @@ -740,7 +740,7 @@ if ( cartHasSubscriptionProducts( config.scriptData ) ) { } if ( block_enabled ) { - if ( (config.placeOrderEnabled || config.usePlaceOrder) && ! config.scriptData.continuation ) { + if ( config.placeOrderEnabled && ! config.scriptData.continuation ) { let descriptionElement = (
$place_order_enabled, 'fundingSource' => $this->session_handler->funding_source(), 'finalReviewEnabled' => $this->final_review_enabled, - 'addPlaceOrderMethod' => $this->add_place_order_method, - 'usePlaceOrder' => $this->use_place_order, 'placeOrderButtonText' => $this->place_order_button_text, 'placeOrderButtonDescription' => $this->place_order_button_description, 'enabledFundingSources' => $funding_sources,