Skip to content

Transaction not returning errors with preauthorization #3

@staffler-xyz

Description

@staffler-xyz

I am trying to force an error code in test mode (for example 50501). I am using a preauthorization (which works) and then a transaction (which fails as expected).

However, the gem only returns the error "Paymill::APIError: Preauthorization has already been used" instead of the actual error code.

Is this just a problem of the test environment?

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