My custom payment method raises the error Magento\Checkout\Model\GuestPaymentInformationManagement::savePaymentInformationAndPlaceOrder() must implement interface Magento\Quote\Api\Data\PaymentInterface, instance of Magento\Quote\Model\Quote\Address given

Hello ,
I have created custom payment method and its working fine for registered user but giving error for guest user. here below is the error

Message: Recoverable Error: Argument 3 passed to Magento\Checkout\Model\GuestPaymentInformationManagement::savePaymentInformationAndPlaceOrder() must implement interface Magento\Quote\Api\Data\PaymentInterface, instance of Magento\Quote\Model\Quote\Address given, called in /home/tdsahost/public_html/shalini/vendor/magento/framework/Interception/Interceptor.php on line 74 and defined in /home/tdsahost/public_html/shalini/vendor/magento/module-checkout/Model/GuestPaymentInformationManagement.php on line 76’ in /home/tdsahost/public_html/shalini/vendor/magento/framework/Webapi/ErrorProcessor.php:195

Please help me to solve this issue.

Thanks

Hi, do u know why this issue appear and how to fix?
please tell me if u know . i’m in your position right now .
thanks alot