Skip to content

Allow simultaneous use of multiple API credentials and modes #4

Description

@Kronuz

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions