diff --git a/app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml b/app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml index 36eddcf5819d9..19dfed0255085 100644 --- a/app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml +++ b/app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml @@ -11,17 +11,14 @@ $id = $block->getContainerId() . random_int(0, PHP_INT_MAX); $config = [ - 'Magento_Braintree/js/paypal/button' => [ - 'id' => $id, - 'clientToken' => $block->getClientToken(), - 'displayName' => $block->getMerchantName(), - 'actionSuccess' => $block->getActionSuccess(), - 'environment' => $block->getEnvironment() - ] + 'id' => $id, + 'clientToken' => $block->getClientToken(), + 'displayName' => $block->getMerchantName(), + 'actionSuccess' => $block->getActionSuccess(), + 'environment' => $block->getEnvironment() ]; - ?> -