Paypal Standard Fixed
This commit is contained in:
parent
fd3639135c
commit
c238263b1a
|
|
@ -1,4 +1,8 @@
|
|||
@if (request()->route()->getName() == 'shop.checkout.onepage.index')
|
||||
@if (
|
||||
request()->route()->getName() == 'shop.checkout.onepage.index'
|
||||
&& core()->getConfigData('sales.paymentmethods.paypal_smart_button.active')
|
||||
&& core()->getConfigData('sales.paymentmethods.paypal_smart_button.active') == '1'
|
||||
)
|
||||
@php
|
||||
$clientId = core()->getConfigData('sales.paymentmethods.paypal_smart_button.client_id');
|
||||
$acceptedCurrency = core()->getConfigData('sales.paymentmethods.paypal_smart_button.accepted_currencies');
|
||||
|
|
@ -101,4 +105,4 @@
|
|||
});
|
||||
});
|
||||
</script>
|
||||
@endif
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue