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 adjustAuthorisation to modification models #55

Merged

Conversation

georgegg
Copy link
Contributor

@georgegg georgegg commented Feb 9, 2018

Description
I wanted to use the API call for adjustAuthorisation in v30.
So I added the modification method in the php library.

Tested scenarios
I created two tests in ModificationTest.php that increases and decreases the previously authorised amount.

Fixed issue:

@georgegg georgegg force-pushed the add-modification-adjust-authorisation branch from 9c9351c to e4031da Compare February 9, 2018 13:42
@rikterbeek
Copy link
Contributor

HI @georgegg,

Thanks for the PR! We will review it and if no remarks are there we will merge it into the code.

Regards,
Rik
Adyen

@@ -9,6 +9,7 @@ class Modification extends \Adyen\Service
protected $_cancelOrRefund;
protected $_capture;
protected $_refund;
protected $_adjustAthorisation;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please just add a 'u' in "_adjustAthorisation"?
Thanks for the PR!

@georgegg
Copy link
Contributor Author

georgegg commented Feb 21, 2018

Hi @Aleffio, I fixed my typo. Thank you

@rikterbeek rikterbeek merged commit ede8a6b into Adyen:develop Mar 7, 2018
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.

3 participants