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

Amount exceeds maximum amount allowed Error #490

Open
ashok1421 opened this issue May 21, 2024 · 5 comments
Open

Amount exceeds maximum amount allowed Error #490

ashok1421 opened this issue May 21, 2024 · 5 comments

Comments

@ashok1421
Copy link

ashok1421 commented May 21, 2024

Hello @yashgit891 ,
I am using the Razor pay module version 4.1.4
On Checkout page Payment Popup not appear in our website and i checked in network tab it showed error
{"message":"Amount exceeds maximum amount allowed.","parameters":[]}

I found the error in my razorpay.log file.

Razorpay Order: create order started with Magento OrderId:242500011 and amount:59683600 [] []
[2024-05-19 09:31:49] main.CRITICAL: Razorpay Order: Mage Order(242500011), Error message from API: Amount exceeds the maximum amount allowed. [] []
[2024-05-19 09:31:49] main.INFO: Data saved in razorpay_sales_order for Mage Order(242500011) [] []

Order placed with pending status.
Please check the Attached File.
Screenshot 2024-05-21 at 12 35 01 PM

@seepossible
Copy link

The same issue is replicated in local with test credentials.

Screenshot 2024-05-21 at 1 04 02 PM

Thank you.

@yashgit891
Copy link
Contributor

@ashok1421 In order grid the order is present as Magento allows order creation for any amount. Post magento order creation, when Razorpay order is being created it is rejecting the order as amount is too large. To increase this amount threshold please reach out to the support team as that is merchant level configuration.

@ashok1421
Copy link
Author

@yashgit891 Please Manage This error as Display Error Message .

@seepossible
Copy link

@yashgit891 yes you are absolutely right but in the production environment when the customer see nothing after clicking on the place order button the customer cannot understand what is happening and this is very bad customer experience so you should manage this error on frontend and at list show message that this much amount is not applicable with Razorpay so try another payment method before placing this order. now the code is placing an order and the customer is not aware that the order is placed without payment on this page. so it should be managed here.

Thank you.

@yashgit891
Copy link
Contributor

@ashok1421 @bhaveshseepossible marking this as an enhancement.

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

No branches or pull requests

3 participants