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

Add Capture and Cancel enpoints to go with the Authorize Endpoint #386

Merged
merged 7 commits into from
Dec 18, 2018

Conversation

aarontkennedy
Copy link

Hi, we use your library at work and are moving from charging people immediately to a system where we authorize the amount and then capture the authorization at a later point. Your library is missing the capture and cancel endpoints.

I have tested with these changes in our product and have added in some unit tests similar to the ones that you already have. Hoping you find these changes acceptable.

@aaron-junot aaron-junot self-requested a review December 17, 2018 17:17
Tests/Recurly/Purchase_Test.php Outdated Show resolved Hide resolved
lib/recurly/purchase.php Outdated Show resolved Hide resolved
Copy link

@aaron-junot aaron-junot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your submission! This will be a good addition to the library 😄

lib/recurly/purchase.php Outdated Show resolved Hide resolved
@aarontkennedy
Copy link
Author

@aaron-suarez I think I fixed everything. Thanks.

Copy link

@aaron-junot aaron-junot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for this, looks great! 👍

@aaron-junot aaron-junot merged commit dee8217 into recurly:master Dec 18, 2018
@bhelx bhelx added the V2 V2 Client label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 V2 Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants