Open shikhart98 opened 2 years ago
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!
refund
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
@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.
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