Skip to content

NoMethodError: undefined method `default_adapter_options' for Faraday:Module #177

@jotolo

Description

@jotolo

Describe the bug

Failure/Error:
       Adyen::Client.new(api_key: credentials[:ADYEN_API_KEY],
                         env: credentials[:ADYEN_ENV],
                         live_url_prefix: adyen_live_url)
     
     NoMethodError:
       undefined method `default_adapter_options' for Faraday:Module

How to reproduce
If you try to initialize Adyen::Client class you will get this error

Expected behavior
Being able to initialize the Adyen::Client class

Additional context
It started with version 7.3.0 and it seems to be related to #169
When no adapter_options is specified, it triggers the before mentioned error

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