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

QuickPay: fix method signature on #void #1817

Closed
wants to merge 1 commit into from

Conversation

girasquid
Copy link
Contributor

@aprofeit @ivanfer

The QuickPay v10 integration's void method doesn't accept options, which all other integrations do - this brings it into sync with the others.

@@ -35,7 +35,7 @@ def authorize(money, credit_card, options = {})
end
end

def void(identification)
def void(identification, options = {})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's not actually passed to anything, should it be _ or _options?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point; changed it to _options

@girasquid girasquid force-pushed the fix-quickpay-void-method-signature branch from 7d2b6f9 to a590b1f Compare July 30, 2015 15:32
@aprofeit
Copy link
Contributor

👍

@aprofeit
Copy link
Contributor

Wonder if we can tests to ensure all the gateways have the same method signatures.

@girasquid girasquid closed this in 11d5bb7 Jul 30, 2015
@girasquid girasquid deleted the fix-quickpay-void-method-signature branch July 30, 2015 15:45
ronnietaylor pushed a commit to veracross/active_merchant that referenced this pull request Jun 14, 2016
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