mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Use the new method for pay later button mapping
This commit is contained in:
parent
3629b2b728
commit
19a923a6a6
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class StylingSettingsMapHelper {
|
|||
return $this->mapped_button_enabled_value( $styling_models, ApplePayGateway::ID );
|
||||
|
||||
case 'pay_later_button_enabled':
|
||||
return $this->mapped_button_enabled_value( $styling_models, 'pay-later' );
|
||||
return $this->mapped_pay_later_button_enabled_value( $styling_models, $payment_settings );
|
||||
|
||||
default:
|
||||
foreach ( $this->locations_map() as $old_location_name => $new_location_name ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue