Set the "Subtotal mismatch behavior" to be "Add another line" by default

This commit is contained in:
Narek Zakarian 2024-04-15 18:54:37 +04:00
parent 851625c0b9
commit 02fe37dd1a
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -522,8 +522,8 @@ return function ( ContainerInterface $container, array $fields ): array {
'woocommerce-paypal-payments' 'woocommerce-paypal-payments'
), ),
'options' => array( 'options' => array(
PurchaseUnitSanitizer::MODE_DITCH => __( 'Do not send line items to PayPal', 'woocommerce-paypal-payments' ),
PurchaseUnitSanitizer::MODE_EXTRA_LINE => __( 'Add another line item', 'woocommerce-paypal-payments' ), PurchaseUnitSanitizer::MODE_EXTRA_LINE => __( 'Add another line item', 'woocommerce-paypal-payments' ),
PurchaseUnitSanitizer::MODE_DITCH => __( 'Do not send line items to PayPal', 'woocommerce-paypal-payments' ),
), ),
'screens' => array( 'screens' => array(
State::STATE_START, State::STATE_START,