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

Ignore duplicates #16

Merged
merged 3 commits into from
Jul 14, 2015
Merged

Ignore duplicates #16

merged 3 commits into from
Jul 14, 2015

Conversation

maiksprenger
Copy link
Member

This PR does two things. It mirrors changes in the scaffold interface that is done on oshop, by removing get_payment_outcome.

Adyen may duplicate notifications. The simplification of the scaffold interface means we're confident we're always recording an audit trail, and can rely on that audit trail to ignore duplicated notifications. That's the second part of this PR.

This was removed from the Scaffold's interface in oshop, so we can
remove it here.
As check_payment_outcome was removed, the record_audit_trail kwarg was
always true. So we can remove it for simplicity.
Adyen duplicates many notifications. Luckily, our audit trail gives us
an easy way to check for duplicates. We ignore duplicated notifications,
but acknowledge them nonetheless.
@aaugustin
Copy link

Looks good!

maiksprenger added a commit that referenced this pull request Jul 14, 2015
@maiksprenger maiksprenger merged commit 9c18b90 into master Jul 14, 2015
@maiksprenger maiksprenger deleted the feature/ignore-duplicates branch July 14, 2015 12:35
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

Successfully merging this pull request may close these issues.

None yet

2 participants