Skip to content

PayPayClient shouldn't be using channelContext under the hood #147

@diimpp

Description

@diimpp

'PayPal-Partner-Attribution-Id' => $this->payPalConfigurationProvider->getPartnerAttributionId($channel),

channelContext makes Client stateful and denies ability to select right Partner-Attribution-Id.

Additionally Partner-Attribution-Id seems optional, but asserted as required at Provider/PayPalConfigurationProvider->getPartnerAttributionId
image

Logic for getting GatewayConfig at Provider/PayPalConfigurationProvider doesn't look production ready as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions