diff --git a/src/resources/views/redsys/main.blade.php b/src/resources/views/redsys/main.blade.php index 2cafa49..a809e45 100644 --- a/src/resources/views/redsys/main.blade.php +++ b/src/resources/views/redsys/main.blade.php @@ -3,8 +3,8 @@ setTimeout(() => this.enableButtons(false), 200) }, enableButtons(enable) { - enableGooglePayButton(enable) - enableApplePayButton(enable) + if({{$googlePayEnabled}}) enableGooglePayButton(enable) + if({{$applePayEnabled}}) enableApplePayButton(enable) this.updateButtom(document.getElementById('redsys-hosted-pay-button'), enable) Array.from(document.getElementsByClassName('token-card')).forEach(elem => this.updateButtom(elem, enable)) }, @@ -50,11 +50,13 @@ ]) @endif -
{{ $redsysConfig->legalInfo ?? '' }}