Hello,

Thank you for this module. I am unable to get it to work. When I go to
admin/commerce/config/payment-gateways/add

I don't see any input fields for KeyID and Secret. There is no change at all and the previous selected PG configuration shows.

Maybe I am missing a step.

Steps to reproduce

Install fresh drupal 8 through composer
Install commerce core and cart etc.
added /modules/custom/*/composer.json in merge section of composer.json in drupal docroot as per readme file.
run composer update
install commerce razorpay module through composer
navigate to admin/commerce/config/payment-gateways/add

further, if you click on save after selecting razorpay, the server throws a 500 error
[proxy_fcgi:error] [pid 23838:tid 140514561033984] [client 103.214.61.58:57162] AH01071: Got error 'PHP message: PHP Fatal error: Declaration of Drupal\\commerce_razorpay\\Plugin\\Commerce\\PaymentGateway\\RazorpayRedirect::create(Symfony\\Component\\DependencyInjection\\ContainerInterface $container) must be compatible with Drupal\\commerce_payment\\Plugin\\Commerce\\PaymentGateway\\PaymentGatewayBase::create(Symfony\\Component\\DependencyInjection\\ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) in /home/demo/public_html/com8/web/modules/contrib/commerce_razorpay/src/Plugin/Commerce/PaymentGateway/RazorpayRedirect.php on line 33'

CommentFileSizeAuthor
#3 3255761-3.patch3.91 KBankithashetty

Comments

no_one created an issue. See original summary.

ankithashetty’s picture

Priority: Normal » Major

Been facing the same issue after updating my site from Drupal 8 to 9, along with these D9 compatible modules.

Any solution, please?

ankithashetty’s picture

Status: Active » Needs review
StatusFileSize
new3.91 KB

Uploading a patch addressing this issue, please review.

Thank you!

kevinsiji’s picture

Status: Needs review » Reviewed & tested by the community

This patch fixes the issue.

tdnshah’s picture

The Patch #3 works as expected.

tdnshah’s picture

i-trokhanenko’s picture

Version: 8.x-1.0 » 8.x-1.x-dev
Assigned: Unassigned » i-trokhanenko
i-trokhanenko’s picture

Assigned: i-trokhanenko » Unassigned
nehajyoti’s picture

Since patch got applied cleanly and the issue has been RTBCd, hence committing the patch.

  • nehajyoti committed c59d50e on 8.x-1.x
    Issue #3255761 by ankithashetty, no_one, tdnshah, i-trokhanenko,...
i-trokhanenko’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.