1 post / 0 new
tulas
Offline
Last seen: 3 months 3 weeks ago
Joined: 05/14/2020
Paypal checkout

Hi Guys.

I tried to setup paypal checkout, installing drupal/commerce_paypal Setup is fine (using sandbox credential)but when I tried to finalize the payment, drupal/opigno crashes.

Here the log:

PHP message: Error: Call to undefined method Drupal\commerce_order\Entity\Order::isPaid() in /home/opigno/opignolms/web/modules/contrib/commerce_paypal/src/Plugin/Commerce/CheckoutPane/CheckoutPaymentProcess.php on line 29 #0 /home/opigno/opignolms/web/modules/contrib/commerce/modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowWithPanesBase.php(111): Drupal\commerce_paypal\Plugin\Commerce\CheckoutPane\CheckoutPaymentProcess->isVisible()

1 [internal function]: Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowWithPanesBase->Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow{closure}(Object(Drupal\commerce_paypal\Plugin\Commerce\CheckoutPane\CheckoutPaymentProcess))

It seems I should update drupal/commerce (2.9) to a newer version but opigno requires drupal/commerce 2.9 Any suggestions on how to update commerce or solve the hitch?

Thank you for support. Andrea