Create a Custom Payment Method in Magento 2 but face this issue on the checkout page. { “message”: “Please enter a valid credit card expiration date.”, “trace”: “#0 /home/css/public_html/magento245/vendor/magento/module-quote/Model/Quote/Payment.php(202): MagentoPaymentModelMethodCc->validate()n#1 /home/css/public_html/magento245/vendor/magento/module-quote/Model/PaymentMethodManagement.php(79): MagentoQuoteModelQuotePayment->importData(Object(MagentoFrameworkDataObject))n#2 /home/css/public_html/magento245/vendor/magento/module-checkout/Model/PaymentInformationManagement.php(181): MagentoQuoteModelPaymentMethodManagement->set(311, Object(MagentoQuoteModelQuotePayment))n#3 /home/css/public_html/magento245/vendor/magento/framework/Interception/Interceptor.php(58): MagentoCheckoutModelPaymentInformationManagement->savePaymentInformation(311, Object(MagentoQuoteModelQuotePayment), NULL)n#4 /home/css/public_html/magento245/vendor/magento/framework/Interception/Interceptor.php(138):… Read More »Custom Payment Method issue in Magento 2.4.5