We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9b69a7 commit 6dce95eCopy full SHA for 6dce95e
app/code/Magento/Paypal/Model/SdkUrl.php
@@ -212,10 +212,10 @@ private function getDisallowedFunding()
212
*/
213
private function getAllowedFunding(): string
214
{
215
- $payLaterActive = (boolean)$this->config->getPayLaterConfigValue('experience_active');
+ $payLaterActive = (bool)$this->config->getPayLaterConfigValue('experience_active');
216
217
// If Pay Later is enabled, then only paylater parameter will go in enable-funding parameter list
218
- if ($payLaterActive == false) {
+ if ($payLaterActive === false) {
219
unset($this->supportedPaymentMethods['paylater']);
220
}
221
return implode(',', $this->supportedPaymentMethods);
0 commit comments