Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getOne() throws exception when fetching failed transaction #98

Open
alaczi opened this issue Mar 17, 2015 · 0 comments
Open

getOne() throws exception when fetching failed transaction #98

alaczi opened this issue Mar 17, 2015 · 0 comments

Comments

@alaczi
Copy link

alaczi commented Mar 17, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant