🔀 Merge branch 'trunk'

# Conflicts:
#	modules/ppcp-settings/src/Endpoint/PaymentRestEndpoint.php
This commit is contained in:
Philipp Stracker 2025-02-14 12:55:57 +01:00
commit f958696c5f
No known key found for this signature in database
5 changed files with 135 additions and 10 deletions

View file

@ -142,10 +142,10 @@ const PaypalSettings = () => {
};
const languagesExample = [
{ value: 'en', label: 'English' },
{ value: 'de', label: 'German' },
{ value: 'es', label: 'Spanish' },
{ value: 'it', label: 'Italian' },
{ value: 'en_US', label: 'English' },
{ value: 'de_DE', label: 'German' },
{ value: 'es_ES', label: 'Spanish' },
{ value: 'it_IT', label: 'Italian' },
];
const subtotalAdjustmentChoices = [

View file

@ -73,7 +73,7 @@ class SettingsModel extends AbstractDataModel {
// Enum-type string values.
'subtotal_adjustment' => 'skip_details', // Options: [correction|no_details].
'landing_page' => 'any', // Options: [any|login|guest_checkout].
'button_language' => '', // empty or a 2-letter language code.
'button_language' => '', // empty or a language locale code.
// Boolean flags.
'authorize_only' => false,