Merge pull request #2714 from woocommerce/PCP-3347-rework-location-settings

Use basic redirect gateway when checkout smart buttons disabled
This commit is contained in:
Emili Castells 2024-10-24 11:10:43 +02:00 committed by GitHub
commit 9f3e8a0723
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 115 additions and 60 deletions

View file

@ -107,7 +107,7 @@ class BlocksPaymentMethod extends AbstractPaymentMethodType {
'id' => $this->name,
'title' => $paypal_data['title'], // See if we should use another.
'description' => $paypal_data['description'], // See if we should use another.
'enabled' => $paypal_data['enabled'], // This button is enabled when PayPal buttons are.
'enabled' => $paypal_data['smartButtonsEnabled'], // This button is enabled when PayPal buttons are.
'scriptData' => $this->button->script_data(),
);
}