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

Failed Monzo Transactions #27

Closed
ganey opened this issue Jun 12, 2017 · 3 comments
Closed

Failed Monzo Transactions #27

ganey opened this issue Jun 12, 2017 · 3 comments

Comments

@ganey
Copy link

ganey commented Jun 12, 2017

Today I accidentally tried to pay for something with my Monzo card, but didn't have enough balance, so caused a failed transaction, as expected.

It did however still fire a webhook, hit my Heroku box, create an entry in YNAB, and mark it as cleared.

I'll try and re-simulate one with more logging, although it may just be that I'm on an outdated copy of this repo as I haven't re-deployed for a few weeks.

@rossdargan
Copy link
Collaborator

to be honest one of the best things you can do is capture the webhook using https://requestb.in.

This way we can see what the call looks like.

Maybe we need an enhanced logging mode the spits out the data received from the webhook call as is?

@scottrobertson
Copy link
Collaborator

This seems like an issue on Monzo's end. They should not be firing transaction.created webhooks for failed transactions.

@rossdargan
Copy link
Collaborator

If this isn't temporary we can filter these transactions out via the property "include_in_spending" Managed to find one in my logs, but I can't tell if it got transaction.created. Possibly worth adding this filter anyway...

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

3 participants