mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Update icons, fix errors
This commit is contained in:
parent
82faf9370b
commit
6f35482847
5 changed files with 13 additions and 14 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue