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

Cart order amount doesn't match with amount paid #457

Closed
parveenkhan22 opened this issue Sep 21, 2023 · 4 comments
Closed

Cart order amount doesn't match with amount paid #457

parveenkhan22 opened this issue Sep 21, 2023 · 4 comments

Comments

@parveenkhan22
Copy link

parveenkhan22 commented Sep 21, 2023

Hi,
My order enters the abandoned cart after I successfully pay for it with Razorpay.
I'm getting an error in the exception log; see the screenshot below
![image] (https://github.com/razorpay/razorpay-magento/assets/57412408/da38a641-4ae9-48ab-898d-5c60fc561ef4).
I searched the quote_id and found in the razorpay_sales_order table with payment info with a null order_id, which is why I was unable to view the order in the admin.
I am using razorpay 3.7.5 in magento 2.4.3-p1
Please have a look at this.
Thanks!

@yashgit891
Copy link
Contributor

@parveenkhan22 please upgrade to the latest version of the plugin to avoid such issues. In it we have changed to new flow for magento order placement before payment.

@raguventhan
Copy link

raguventhan commented Feb 14, 2024

Hi @yashgit891

if an order placed before payment it will create many problems in default cart flow, explained in detail here #431 (comment).

Instead you can have an option to allow if cart order amount not matched the amount paid. We are using custom coupon, giftcard and store credit options. When combining this with Razorpay it will throw this error.

So, placing order before payment is not a correct solution for this issue.

@yashgit891
Copy link
Contributor

Hello @raguventhan
Whatever is the final amount to be paid for the order only that would be captured by Razorpay. I suggest testing out these scenarios on a staging site with the latest plugin version and which ever is not working please describe the issue in detail.

@yashgit891
Copy link
Contributor

As there is no response so closing this thread.

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

3 participants