Skip to content

Transaction not returning errors with preauthorization #3

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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