Skip to content

Allow simultaneous use of multiple API credentials and modes #4

@Kronuz

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.

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