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

Unsuccessful-WHMCS_ERROR: Payment to Razorpay Failed. Amount mismatch.. #40

Closed
ankeshanand1 opened this issue Oct 26, 2021 · 1 comment

Comments

@ankeshanand1
Copy link

Razorpay Gateway Log return "Amount Mismatch". Payments gets authorized but not captured and neither are reflected in WHMCS.

Problem in : WHMCS 7.10.3

@ankeshanand1
Copy link
Author

Solved, If anyone else faces this problem, Just ping me at [email protected] . The problem is not related to Webhooks as told by Razorpay Technical Support but with gateway/razorpay.php . It happens specifically with Modulesgarden enabled WHMCS installation. Modulesgarden plugins update system_url from whatever.com to whatever.com/ and the afterwards url "/modules/gateways/callback/razorpay.php" which makes it "whatever.com//modules/gateways/callback/razorpay.php" and then the HTTP POST requests stops working. Just remove "/" in "/modules/gateways/callback/razorpay.php" and module will start working again.

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

1 participant