I enable T&C configuration in My Magento 2.3.4 , after i upgraded to Magento 2.4.1. I got this checkout payment page
The order wasn't placed. First, agree to the terms and conditions, then try placing your order again.
The error message comes from
validateAgreements function from
vendor/magento/module-checkout-agreements/Model/Checkout/Plugin/Validation.php file. In Magento 2.3.4 this file does not being called at all in the checkout payment page, but in Magento 2.4.1 this file is being called in the checkout payment page calling the
beforeSavePaymentInformation plugin function which use the
validateAgreements that triggers the error message