Update icons, fix errors

This commit is contained in:
inpsyde-maticluznar 2024-10-18 11:29:07 +02:00
parent 82faf9370b
commit 6f35482847
No known key found for this signature in database
GPG key ID: D005973F231309F6
5 changed files with 13 additions and 14 deletions

View file

@ -248,13 +248,13 @@ class PayPalPaymentMethod extends AbstractPaymentMethodType {
return array(
'id' => $this->gateway->id,
'title' => $this->gateway->title,
'icon' => [
[
'id' => 'paypal',
'icon' => array(
array(
'id' => 'paypal',
'alt' => 'PayPal',
'src' => $this->gateway->icon
]
],
'src' => $this->gateway->icon,
),
),
'description' => $this->gateway->description,
'enabled' => $this->settings_status->is_smart_button_enabled_for_location( $script_data['context'] ?? 'checkout' ),
'fundingSource' => $this->session_handler->funding_source(),