razorpay / razorpay-whmcs

Razorpay Payment Extension for WHMCS
16 stars 14 forks source link

wrong amount captured in razorpay payment #82

Open ramnathkrish opened 2 months ago

ramnathkrish commented 2 months ago

Hi Team, below example

Ex : invoice amount is ₹22894.96 after payment from razorpay. invoice is updated with actual invoiced ₹22894.96 amount. but paid amount ₹ 17,611.50 in razorpay which is confusing the customer and we got loss of ₹ 5,283.46

ramnathkrish commented 2 months ago

i also raised this issue to concerned team. please reach out to merchant formore details.

reference ticket ID: 12022991

ramnathkrish commented 2 months ago

WHMCS v8.10.1 PHP Version 8.1.29

This issue happening after updated to latest razorpay module 2.2.1 its working fine in the version 2.2.0

Below are steps to reproduce the issue.

Example : Create a New invoice in whmcs for any customer with any product with Rs. 500. Try to pay using razorpay it will show you to pay Rs. 500 ( Don't want to do payment )

Goto same invoice and modify the Amount Rs. 500 to Rs. 300 try to pay using razorpay it will show you to pay Rs. 500 ( Don't want to do payment ) showing wrong amount Expected amount to show Rs. 300

Goto same invoice and modify the Amount Rs. 500 to Rs. 1000 try to pay using razorpay it will show you to pay Rs. 500 ( Don't want to do payment ) showing wrong amount Expected amount to show Rs. 1000

MeraHost commented 2 months ago

Facing same issue, is it solved?

youstable commented 1 month ago

Raised a request with them, but their development team doesn't care we are losing money and requires manual work to do every time we need to update the invoices

rohitcbr commented 1 month ago

@youstable @MeraHost can you please upgrade razorpay-whmcs module to 2.2.2 (https://github.com/razorpay/razorpay-whmcs/releases/tag/2.2.2). Here we have fixed the bug

MeraHost commented 1 month ago

@youstable @MeraHost can you please upgrade razorpay-whmcs module to 2.2.2 (https://github.com/razorpay/razorpay-whmcs/releases/tag/2.2.2). Here we have fixed the bug

Let me check and update

rohitcbr commented 1 month ago

@MeraHost @ramnathkrish is the issue fixed at your side?