-
Notifications
You must be signed in to change notification settings - Fork 2.5k
TNS/TransFirstTransactionExpress/USA EPAY: Normalize the use of API_VERSION #5516
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
TNS/TransFirstTransactionExpress/USA EPAY: Normalize the use of API_VERSION #5516
Conversation
8b43023
to
9775927
Compare
4c6762f
to
5feabcb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will let @almalee24 take a look once about pattern we're following and optimzations (if any)
lib/active_merchant/billing/gateways/trans_first_transaction_express.rb
Outdated
Show resolved
Hide resolved
94a5046
to
fb9fca9
Compare
@@ -62,7 +62,7 @@ module Billing # :nodoc: | |||
# * {USA ePay Developer Login}[https://www.usaepay.com/developer/login] | |||
# | |||
class UsaEpayAdvancedGateway < Gateway | |||
API_VERSION = '1.4' | |||
version '1.4' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this not used anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adarsh-spreedly yes, it is not used anywhere.
Normalize the use of API_VERSION for TNS, TransFirstTransactionExpress and USA EPAY gateways. Remote: TNS: 13 tests, 26 assertions, 9 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications 23.0769% passed TransFirstTransactionExpress: 34 tests, 0 assertions, 0 failures, 34 errors, 0 pendings, 0 omissions, 0 notifications 0% passed USA EPAY: USA EPAY advanced: 40 tests, 0 assertions, 0 failures, 40 errors, 0 pendings, 0 omissions, 0 notifications 0% passed USA EPAY transaction: 34 tests, 0 assertions, 0 failures, 34 errors, 0 pendings, 0 omissions, 0 notifications 0% passed
fb9fca9
to
39e4583
Compare
@sumit-sharmas - about remote tests - were you not able to find creds for gateways? |
@ankurspreedly I was able to find some credentials for the gateways, but they don’t seem to be working—possibly expired or no longer valid. |
Normalize the use of API_VERSION for TNS, TransFirstTransactionExpress and USA EPAY gateways.
Remote Test Results:
TNS:
13 tests, 26 assertions, 9 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications 23.0769% passed
TransFirstTransactionExpress:
34 tests, 0 assertions, 0 failures, 34 errors, 0 pendings, 0 omissions, 0 notifications 0% passed
USA EPAY:
USA EPAY advanced:
40 tests, 0 assertions, 0 failures, 40 errors, 0 pendings, 0 omissions, 0 notifications 0% passed
USA EPAY transaction:
34 tests, 0 assertions, 0 failures, 34 errors, 0 pendings, 0 omissions, 0 notifications 0% passed