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

Fix reverse deposit check #228

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Jihell
Copy link

@Jihell Jihell commented Jan 30, 2019

I might haven't understood the correct way to use this bundle but in the current situation it's impossible to reverse deposit as the script check for a status "APPROVED" and refuse "DEPOSITED". So my guess was there were an error.

So I update the PluginController class to accept "DEPOSITED" status for reverseDeposit and doDependentCredit methods.

The reverseDeposit method also didn't add the transaction to the payment as it is on reverseApproval and reverseCredit, so I guessed it was an oversight.

@imileti
Copy link

imileti commented Mar 14, 2019

I vote for merging this in :)

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.

2 participants