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

Allow simultaneous use of multiple API credentials and modes #4

Open
Kronuz opened this issue Mar 14, 2015 · 0 comments
Open

Allow simultaneous use of multiple API credentials and modes #4

Kronuz opened this issue Mar 14, 2015 · 0 comments

Comments

@Kronuz
Copy link

Kronuz commented Mar 14, 2015

There is a problem when the application must simultaneously use the API with a variety of sellers (with different private_key, seller_id, username, password) and modes (sandbox/production).

I'd suggest not directly using the Api object and class methods and instead passing an instance of an Api object (with proper instance methods) to the Charge, Company, Contact, Coupon, etc. class methods.

I can work in this enhancement if anyone cares to merge it, as we definitely need multiple of our clients have their own 2Checkout API keys.

Kronuz added a commit to Kronuz/2checkout-python that referenced this issue Mar 14, 2015
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

No branches or pull requests

1 participant