cancel
Showing results for 
Search instead for 
Did you mean: 

Exception in Stripe Payment on Magento 2.3.5

Exception in Stripe Payment on Magento 2.3.5

I got an error in the stripe payment. The version I am using is 

Magento ver. 2.3.5

Stripe Module: 3.2.8

 

Here is the exception 

[29-Sep-2022 07:25:22 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Magento\Sales\Api\Data\OrderPaymentExtension::setNotificationMessage() in /var/www/html/vendor/stripe/module-payments/Helper/Generic.php:2129
Stack trace:
#0 /var/www/html/vendor/stripe/module-payments/Model/PaymentMethod.php(201): StripeIntegration\Payments\Helper\Generic->overrideInvoiceActionComment(Object(Magento\Sales\Model\Order\Payment\Interceptor), Object(Magento\Framework\Phrase))
#1 /var/www/html/generated/code/StripeIntegration/Payments/Model/PaymentMethod/Interceptor.php(89): StripeIntegration\Payments\Model\PaymentMethod->payWithClientSideConfirmation(Object(Magento\Sales\Model\Order\Payment\Interceptor), 85)
#2 /var/www/html/vendor/stripe/module-payments/Model/PaymentMethod.php(117): StripeIntegration\Payments\Model\PaymentMethod\Interceptor->payWithClientSideConfirmation(Object(Magento\Sales\Model\Order\Payment\Interceptor), 85)
#3 /var/www/html/generated/code/StripeIntegration/Payments/Model/PaymentMethod/Interceptor.php(50): StripeIntegration\Payments\ in /var/www/html/vendor/stripe/module-payments/Helper/Generic.php on line 2129

Any idea how to fix this?

1 REPLY 1

Re: Exception in Stripe Payment on Magento 2.3.5

I rollback to Stripe version 2.9.5 and it works fine