Go to the source code of this file.
◆ $configuration
Initial value:= [
'*' => [
'Magento_Paypal/js/in-context/express-checkout' => [
'id' => Button::PAYPAL_BUTTON_ID,
'paypal/express/gettoken',
[
'_secure' =>
$block->getRequest()->isSecure()
]
),
'merchantId' =>
$block->getMerchantId(),
'button' =>
$block->isButtonContext(),
'clientConfig' => [
'locale' =>
$block->getLocale(),
'environment' =>
$block->getEnvironment(),
'button' => [
Button::PAYPAL_BUTTON_ID,
],
]
]
]
]
Definition at line 10 of file component.phtml.