Skip to content

Undefined warning variable #166

@Polandia94

Description

@Polandia94

The file payment_method_gateway.py is used warnings.warn but not importing warning, this will result on a runtime error if the code is readed. As this is under a # NEXT_MAJOR_VERSION remove these checks when the attributes are removed probablly better to remove the attributes than to add the import

warnings.warn("device_session_id is deprecated, use device_data parameter instead", DeprecationWarning)

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