These are the following issues which we may face for Drupal 9 by using the current commerce payumoney module.


------ ----------------------------------------------------------------------------------------------------------------------------- 
  Line   src/Plugin/Commerce/PaymentGateway/PayUMoneyRedirect.php                                                                     
 ------ ----------------------------------------------------------------------------------------------------------------------------- 
  101    Call to deprecated function drupal_set_message():                                                                            
         in drupal:8.5.0 and is removed from drupal:9.0.0.                                                                            
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.                                                         
  108    Access to deprecated property $entityId of class Drupal\commerce_payment\Plugin\Commerce\PaymentGateway\PaymentGatewayBase:  
         in commerce:8.x-2.16 and is removed from commerce:3.x.                                                                       
         Use $this->>parentEntity->id() instead.                                                                                      
  116    Call to deprecated function drupal_set_message():                                                                            
         in drupal:8.5.0 and is removed from drupal:9.0.0.                                                                            
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.                                                         
  125    Call to deprecated function drupal_set_message():                                                                            
         in drupal:8.5.0 and is removed from drupal:9.0.0.                                                                            
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.                                                         
 ------ ----------------------------------------------------------------------------------------------------------------------------- 


Comments

Saurabh_sgh created an issue. See original summary.

saurabh-2k17’s picture

StatusFileSize
new2.6 KB
saurabh-2k17’s picture

Status: Active » Needs review
saurabh-2k17’s picture

There are some changes i have done in the patch

saurabh-2k17’s picture

StatusFileSize
new2.58 KB
saurabh-2k17’s picture

StatusFileSize
new2.58 KB

I have mentioned wrong comment number in the patch.

Updated that

saurabh-2k17’s picture

Assigned: saurabh-2k17 » Unassigned
saurabh-2k17’s picture

Issue tags: -Drupal 9 compatibility +Drupal 9 compatibility Drupal 9 porting weekend DIACWMay2020
shimpy’s picture

StatusFileSize
new2.59 KB

I have corrected the deprecated drupal_set_message call function in below patch.
Please review.

gábor hojtsy’s picture

Issue tags: -Drupal 9 compatibility Drupal 9 porting weekend DIACWMay2020 +Drupal 9 compatibility, +Drupal 9 porting weekend, +DIACWMay2020

Fixing tags.