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

Payment.refund API not backward compatible #230

Open
shikhart98 opened this issue Sep 21, 2022 · 1 comment
Open

Payment.refund API not backward compatible #230

shikhart98 opened this issue Sep 21, 2022 · 1 comment
Assignees

Comments

@shikhart98
Copy link

In current implementation as of v1.3.0, in Payment class there are 2 refund function definitions, always the later one will be picked and will not be backward compatible!

Function overloading won't work here.
https://github.com/razorpay/razorpay-python/blob/master/razorpay/resources/payment.py#L52
https://github.com/razorpay/razorpay-python/blob/master/razorpay/resources/payment.py#L120

@ankitdas13
Copy link
Contributor

@shikhart98 Sorry for the delay. Both functions are the same, but thanks for informing this to us. We will update this in the next release.

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

2 participants