Commit 74ab39af authored by git's avatar git Committed by Ivan Trokhanenko
Browse files

Issue #3146815 by Project Update Bot, i-trokhanenko: Automated Drupal 9 compatibility fixes

parent c5b37a3c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -59,11 +59,11 @@ class Controller extends ControllerBase{
    // If Payment is successfully captured at razorpay end.
    if ($success === true) {
      $message = "Payment ID: {$razorpay_payment_id}";
      drupal_set_message(t($message));
      $this->messenger()->addStatus(t($message));
    }
    else {
      $message = "Your payment failed " . $error;
      drupal_set_message(t($message), 'error');
      $this->messenger()->addError(t($message));
    }
    $url =  Url::fromRoute('commerce_payment.checkout.return', [
      'commerce_order' => $commerce_order_id,