Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I got error after upgrade commerce_paypal 8.x-1.0-beta3
Error: Call to undefined method Drupal\commerce_order\Entity\Order::isPaid() in Drupal\commerce_paypal\Plugin\Commerce\CheckoutPane\CheckoutPaymentProcess->isVisible() (line 29 of /public_html/modules/commerce_paypal/src/Plugin/Commerce/CheckoutPane/CheckoutPaymentProcess.php)
Please help me .
Comment | File | Size | Author |
---|---|---|---|
#3 | commerce_paypal-3044362-3.patch | 351 bytes | jsacksick |
Comments
Comment #2
aniltiwari CreditAttribution: aniltiwari commentedComment #3
jsacksick CreditAttribution: jsacksick at Centarro for PayPal, Inc commented@aniltiwari: this issue is similar to #3040257: undefined method isPaid, (you should at least upgrade to Commerce 2.10).
Attached patch for review.
Comment #5
jsacksick CreditAttribution: jsacksick at Centarro for PayPal, Inc commentedPlease reopen if you're still having issues after upgrading.
Comment #6
aniltiwari CreditAttribution: aniltiwari commentedi am still see same error after i updated "composer.json" file.. line: "drupal/commerce": "~2.10".
my commerce module version:
Machine name: commerce
Version: 8.x-2.7 . please let me know what is wrong from my side.
Comment #7
jsacksick CreditAttribution: jsacksick at Centarro for PayPal, Inc commentedJust updating the composer.json file isn't going to change anything.... You need to update Commerce (to at least 2.10), latest is 2.12, See https://docs.drupalcommerce.org/commerce2/developer-guide/install-update....
Comment #8
jsacksick CreditAttribution: jsacksick at Centarro for PayPal, Inc commentedComment #10
b.khouyPlease reopen the issue.
Still have the problem after updating all commerce contrib module using command
composer update --with-dependencies "drupal/commerce*"
Drupal core version: 8.8.1
Commerce installed version: 8.x-2.6
Commerce PayPal installed version: 8.x-1.0-beta6