-
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
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,85 @@ | ||
[](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 commentThe 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 commentThe 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. |
||
|
||
This library simplifies working with Adyen APIs and allows you to integrate Adyen | ||
payments within any Python application. | ||
|
||
## Integration | ||
The Library supports all APIs under the following services: | ||
|
||
* checkout | ||
* checkout utility | ||
* payments | ||
* modifications | ||
* payouts | ||
* recurring | ||
|
||
## Requirements | ||
|
||
This is the officially supported Python library for using Adyen's APIs. | ||
## Integration | ||
The library supports all APIs under the following services: | ||
|
||
* [Checkout API](https://docs.adyen.com/api-explorer/#/CheckoutService/v67/overview): Our latest integration for accepting online payments. Current supported version: **v67** | ||
* [Payments API](https://docs.adyen.com/api-explorer/#/Payment/v64/overview): Our classic integration for online payments. Current supported version: **v64** | ||
* [Recurring API](https://docs.adyen.com/api-explorer/#/Recurring/v49/overview): Endpoints for managing saved payment details. Current supported version: **v49** | ||
* [Payouts API](https://docs.adyen.com/api-explorer/#/Payout/v64/overview): Endpoints for sending funds to your customers. Current supported version: **v64** | ||
* [Orders API](https://docs.adyen.com/api-explorer/#/CheckoutService/v67/post/orders): Endpoints for creating and canceling orders. Current supported version: **v67** | ||
* [Utility API](https://docs.adyen.com/api-explorer/#/CheckoutService/v67/post/originKeys): This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. Current supported version: **v67** | ||
|
||
For more information, refer to our [documentation](https://docs.adyen.com/) or the [API Explorer](https://docs.adyen.com/api-explorer/). | ||
|
||
|
||
## Prerequisites | ||
|
||
- [Adyen test account](https://docs.adyen.com/get-started-with-adyen) | ||
- [API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). For testing, your API credential needs to have the [API PCI Payments role](https://docs.adyen.com/development-resources/api-credentials#roles). | ||
- Python 2.7 or 3.6 | ||
- Packages: requests or pycurl ( optional ) | ||
- Adyen account. If you don't have this you can request it here: https://www.adyen.com/home/discover/test-account-signup#form | ||
|
||
## Installation | ||
## Installation | ||
|
||
### For development propose | ||
|
||
Clone this repository and run ```make install``` | ||
Clone this repository and run | ||
~~~~ bash | ||
make install | ||
~~~~ | ||
|
||
### For usage propose | ||
|
||
Use pip command: ```pip install Adyen``` | ||
|
||
## Usage | ||
|
||
Create a class instance of the 'Adyen' class. | ||
|
||
```python | ||
Use pip command: | ||
~~~~ bash | ||
pip install Adyen | ||
~~~~ | ||
|
||
## Using the library | ||
|
||
|
||
### General use with API key | ||
|
||
~~~~ python | ||
import Adyen | ||
|
||
ady = Adyen.Adyen() | ||
|
||
ady.payment.client.username = "webservice user name" | ||
ady.payment.client.xapikey = "YourXapikey" | ||
ady.payment.client.skin_code = "skin code for Hosted Payment pages" | ||
ady.payment.client.hmac = "HMAC key for skin code" | ||
ady.payment.client.platform = "test" # Environment to use the library in. | ||
ady.payment.client.merchant_account = "merchant account name from CA" | ||
ady.payment.client.password = "webservice user password" | ||
``` | ||
|
||
## Documentation | ||
* https://docs.adyen.com/developers/development-resources/libraries | ||
* https://docs.adyen.com/developers/checkout | ||
~~~~ | ||
|
||
### Example integration | ||
|
||
For a closer look at how our Python library works, clone our [example integration](https://github.com/adyen-examples/adyen-python-online-payments). This includes commented code, highlighting key features and concepts, and examples of API calls that can be made using the library. | ||
|
||
## Support | ||
If you have a feature request, or spotted a bug or a technical problem, create a GitHub issue. For other questions, contact our [support team](https://support.adyen.com/hc/en-us/requests/new?ticket_form_id=360000705420). | ||
|
||
## Contributing | ||
We strongly encourage you to join us in contributing to this repository so everyone can benefit from: | ||
* New features and functionality | ||
* Resolved bug fixes and issues | ||
* Any general improvements | ||
|
||
Read our [**contribution guidelines**](CONTRIBUTING.md) to find out how. | ||
|
||
|
||
We encourage you to contribute to this repository, so everyone can benefit from new features, bug fixes, and any other improvements. | ||
|
||
|
||
Have a look at our [contributing guidelines](https://github.com/Adyen/adyen-python-api-library/blob/develop/CONTRIBUTING.md) to find out how to raise a pull request. | ||
|
||
|
||
## Support | ||
If you have a feature request, or spotted a bug or a technical problem, [create an issue here](https://github.com/Adyen/adyen-web/issues/new/choose). | ||
|
||
For other questions, [contact our Support Team](https://www.adyen.help/hc/en-us/requests/new?ticket_form_id=360000705420). | ||
|
||
|
||
## Licence | ||
MIT license see LICENSE | ||
This repository is available under the [MIT license](https://github.com/Adyen/adyen-python-api-library/blob/master/LICENSE.md). | ||
|
||
|
||
## See also | ||
* [Example integration](https://github.com/adyen-examples/adyen-python-online-payments) | ||
* [Adyen docs](https://docs.adyen.com/) | ||
* [API Explorer](https://docs.adyen.com/api-explorer/) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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,