Skip to content

checkout

Auto Added by WPeMatico

Magento 2 : How add validation validator to custom input field in checkout page?

We have to add custom form in check-money order payment method.We have to add custom validations before order placement but its not working. please check below code 1)Create the validator:- Custom_Checkmethod/view/frontend/web/js/model/custom-validation.js define( [ ‘jquery’, ‘mage/validation’ ], function ($) { ‘use… Read More »Magento 2 : How add validation validator to custom input field in checkout page?

GuestPaymentInformationManagementPlugin must be of type MagentoQuoteApiDataPaymentInterface when placing order

Magento 2.4.6-p3 I am getting this error when placing an order in my Magento 2 checkout: TypeError: MagentoPersistentModelCheckoutGuestPaymentInformationManagementPlugin::beforeSavePaymentInformation(): Argument #4 ($paymentMethod) must be of type MagentoQuoteApiDataPaymentInterface, MagentoQuoteModelQuoteAddressInterceptor given I recompiled, deployed and cleared the cache, issue remains. Also tried using… Read More »GuestPaymentInformationManagementPlugin must be of type MagentoQuoteApiDataPaymentInterface when placing order