Open sambhav-aggarwal opened 7 years ago
The issue that I mentioned earlier occurs only when the base currency of the system is different than the invoice currency. Suppose the base currency of the system is USD but the user purchased in INR, then in the callback file the conversion still takes due to which the amount in capture request is different than the authorised amount, hence it results in an error.
I have fixed this in pull request #10
Thanks for the PR, we'll be reviewing it shortly.
After the user places order and make the payment, the payment status is changed to
Authorized
on razorpay, however, not captured automatically, which shows the invoice status asUnpaid
on WHMCS-v7.2.3-release.1.Due to this, the user thinks that payment has failed.