Magento 2.4.6-p3

I am getting this error when placing an order in my Magento 2 checkout:

TypeError: Magento\Persistent\Model\Checkout\GuestPaymentInformationManagementPlugin::beforeSavePaymentInformation(): Argument #4 ($paymentMethod) must be of type Magento\Quote\Api\Data\PaymentInterface, Magento\Quote\Model\Quote\Address\Interceptor given

I recompiled, deployed and cleared the cache, issue remains. Also tried using different payment methods, all return the same error.

I am using Luma checkout ... any idea what might be wrong?

Full error log: https://pastebin.com/VvkgC4UV

  • Can you add full error trace for logs or provide the log file. Commented Jul 4 at 8:20
  • Sure, I added the link in my post above ... Commented Jul 4 at 8:30
  • beforeSavePaymentInformation can you check in your code if this function has been override in app/code
    – Kareem k
    Commented Jul 4 at 8:51
  • After reviewing your logs, it seems that "Magestore/WebposIntegration/Plugin" is conflicting with the code. Could you try disabling this extension and let me know if it resolves the issue? Commented Jul 4 at 10:57


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.