-
Notifications
You must be signed in to change notification settings - Fork 47
Adding-Modification-Functionality-Checkout-Api #142
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
Conversation
* [PW-4392] Update README based on the new template (Adyen#140) * Update README based on the new template * Update the endpoints versions * Add the api versions in the description * Add the example with xapi key * Apply suggestions from code review Co-authored-by: Ángel Campos <angel.campos@adyen.com> * Update README.md Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com> Co-authored-by: Ángel Campos <angel.campos@adyen.com> Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com> * Adding cancels action * [PW-4392] Update README based on the new template (Adyen#140) * Update README based on the new template * Update the endpoints versions * Add the api versions in the description * Add the example with xapi key * Apply suggestions from code review Co-authored-by: Ángel Campos <angel.campos@adyen.com> * Update README.md Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com> Co-authored-by: Ángel Campos <angel.campos@adyen.com> Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com> * Adding cancels action * Adding modifications to checkout api Co-authored-by: Alexandros Moraitis <alexandros.moraitis@adyen.com> Co-authored-by: Ángel Campos <angel.campos@adyen.com> Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com> Co-authored-by: Eric Laff <eric.laff@tier.app>
Co-authored-by: Eric Laff <eric.laff@tier.app>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this contribution @eraserhead0705. I've left a couple of comments. Please re-open the pull request to develop instead of master
https://docs.adyen.com/developers/checkout/api-integration | ||
service (str): This is the API service to be called. | ||
action (str): The specific action of the API service to be called | ||
path_param (str): This is used to pass the id or referenceID to the API sercie |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
path_param (str): This is used to pass the id or referenceID to the API sercie | |
path_param (str): This is used to pass the ID or referenceID to the API service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix this and open a new PR to develop,
[](https://travis-ci.org/Adyen/adyen-python-api-library) | ||
[](https://coveralls.io/github/Adyen/adyen-python-api-library?branch=master) | ||
|
||
# Adyen APIs Library for Python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this being removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure but these changes are stale now. Will not include them when I reopen.
Closing the PR as it should point to develop instead of master. We can edit the base branch here but I think the contributor needs to double check that the commits apply correctly to develop. Thanks for the contribution! |
@acampos1916 Thanks so much for the comments! I will go ahead and fix the above accordingly and reopen the PR. Additionally I will not include the readme edits as those have been merged. 👍 |
What problem you’re solving:
The Adyen Python Library lacks support for the full Checkout API actions.
Capture
Refund
Reversals
Cancel/Technical Cancel
Our Team at Tier needs this functionality implemented in the Python library in order to fully integrate with our backend system.
Your approach to fixing the problem:
Implemented the above functionality by building on the current service/client in the code base. I added a new parameter to send a path parameter to the Adyen Api.
Any tests you wrote:
Each new action has two tests written, one success and one that mocks an error.
Additionally a test that checks for raise condition.
Note:
I included a commit with a updated README. This was from a Adyen dev .