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

Refund notifications for an already void payment through state machine errors #63

Open
simonpfry opened this issue Jan 6, 2016 · 0 comments

Comments

@simonpfry
Copy link
Contributor

Currently the refund process for Sofort is complicated because they don't allow refunds for three days, and until then you can't send a refund request because it'll be denied, so we make a note in the Solidus admin to refund manually.

However when cancelling the order in Solidus it makes the payment void. When the refund is made in Adyen, they still send a notification back which then attempts to process, leading to errors such as:

Cannot transition state via :complete from :void (Reason(s): State cannot transition via "complete")

I guess it should just not try to process such notifications, because the work is already done.

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