Adyen / Adyen/adyen-python-api-library

[Feature]: Client should provide environment (instead of platform) setting

Open
#384 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

do not stale Feature
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 platform attribute (mark to be removed in the future)
  • add a new Client environment attribute
  • update unit tests and README accordingly
Alternatives considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.