Adyen / Adyen/adyen-python-api-library
[Feature]: Client should provide environment (instead of platform) setting
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 68
- Forks
- 49
- Avg merge
- 2h 3m
- Merged PRs (30d)
- 2
Description
Feature summary
Add environment (test or live) attribute to the Client object
Problem statement
The Client platform attribute defines the Environment (test or live) to be used when making the API requests.
All other Adyen libraries instead use the environment attribute.
Proposed solution
Consider the following:
- deprecate Client
platformattribute (mark to be removed in the future) - add a new Client
environmentattribute - update unit tests and README accordingly
Alternatives considered
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Python Client class and its unit tests, then review the README references to the platform setting. Add the environment setting while preserving the documented deprecation path for platform, update the tests and README, and verify that both test and live API request configuration remain covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, payments
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100