Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Razorpay Module "Payment Already Made for Order" on Live Server #511

Open
lalitmage opened this issue Nov 28, 2024 · 1 comment

Comments

@lalitmage
Copy link

Hello,

I am currently using the Razorpay module razorpay/magento version 3.7.3 on a Magento 2.4.3-p1 setup. I received a notification to update the module to the latest version (4.1.1). However, after updating, I encounter the error "Payment already made for order" when attempting to place an order using Razorpay.

Upon investigation, I identified that the issue originates in the file:
vendor/razorpay/magento/Controller/Payment/Order.php.

Specifically, the line:
$mazeOrder = $this->checkoutSession->getLastRealOrder();
is returning a null result.

This issue occurs only on the live server. The functionality works correctly on both the local and staging environments.

I have attached a screenshot for reference. Please assist in resolving this issue.
Untitled

Thank you.

@rohitcbr
Copy link
Contributor

rohitcbr commented Dec 9, 2024

@lalitmage are you still facing the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants