Skip to content

Add getter for stripe_account #1893

@andreaskienast

Description

@andreaskienast

Is your feature request related to a problem? Please describe.

In an application that deals with different Stripe accounts I've configured multiple Stripe clients via Symfony's dependency injection, where the Stripe account is passed into the configuration.

To build a mapping between the application user's and their existing Stripe accounts, I need to access the Stripe account of the client, which is not possible in any way.

Describe the solution you'd like

It should be fine to add a getStripeAccount() method to BaseStripeClient, which returns $this->config['stripe_account'].

I will provide a PR for this.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions