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

fix: updated refund relative url to match current api #384

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaganax
Copy link

@jaganax jaganax commented Jan 8, 2025

The refunds were failing as reported on issues section,
RazorPay current refund API doc [https://razorpay.com/docs/api/refunds/create-normal/]

states clearly that the relative url should be "/payments/:id/refund" and not "/refunds"

so modified refund function on Payment.php line 46 with new implementation

@jaganax
Copy link
Author

jaganax commented Jan 8, 2025

@ankitdas13 @Maheshwar-Rzp @naveen-s-rzp, can you check this PR, this a hot fix as refund endpoint change is breaking refund failure.

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

Successfully merging this pull request may close these issues.

1 participant