Skip to content

TypeError after upgrading to 4.33 #253

@travisbell

Description

@travisbell

After upgrading to 4.33, we're getting this error when calling Braintree::ClientTokenGateway.new().generate:

TypeError: no implicit conversion of Symbol into Integer (TypeError)

        result[:client_token][:value]
                              ^^^^^^
from /usr/local/bundle/gems/braintree-4.33.0/lib/braintree/client_token_gateway.rb:22:in 'String#[]'

It looks like perhaps the result is coming back as a string now, instead of a symbol which is probably related to using Nokogiri.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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