Skip to content

getOne() throws exception when fetching failed transaction #98

@alaczi

Description

@alaczi

I just noticed that if you want to fetch a transaction which is failed for some reason (lets say: [40100] Problem with credit card data.) then the php lib throws an \Paymill\Services\PaymillException instead of returning the transaction. I don't see why it is necessary in this case, as the action was successful (fetch an information about a payment transaction) and only the transaction itself failed. I think in this case the api should return the transaction object instead throwing an exception.

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