-
Notifications
You must be signed in to change notification settings - Fork 93
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
Invoice-based refunding #124
Comments
Agreed, something we need to do. I'll check on the status. |
@smazurov Sounds like the plan is to get this added in shortly after the 1st of the year. |
Thanks for the follow up, looking forward to it. |
Hey guys, checking in on the status of this. |
@smazurov This is supported in the latest release Pull Request: #133 I'm pushing out the docs this week. In the mean time I'd ask you to look at the tests if you want to know how to implement it: To refund line items: https://github.com/recurly/recurly-client-php/blob/master/Tests/Recurly/Invoice_Test.php#L133 A shortcut to refund just an adjustment: https://github.com/recurly/recurly-client-php/blob/master/Tests/Recurly/Adjustment_Test.php#L74 To refund an "open amount": https://github.com/recurly/recurly-client-php/blob/master/Tests/Recurly/Invoice_Test.php#L125 Let us know if you have any questions |
Thanks a lot! |
If anyone stumbles on this thread through a search, the documentation is here: https://docs.recurly.com/api/invoices#line-item-refund |
Any chance to include support for invoice based line item refunds? Since its the only way to currently allow for refunds in the new api, I feel like it should be part of the official client.
The text was updated successfully, but these errors were encountered: