File tree Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ var ApiContracts = require('authorizenet').APIContracts;
4
4
var ApiControllers = require ( 'authorizenet' ) . APIControllers ;
5
5
var constants = require ( '../constants.js' ) ;
6
6
7
- function createVisaCheckoutTransaction ( callback ) {
7
+ function createVisaSrcTransaction ( callback ) {
8
8
var merchantAuthenticationType = new ApiContracts . MerchantAuthenticationType ( ) ;
9
9
merchantAuthenticationType . setName ( constants . apiLoginKey ) ;
10
10
merchantAuthenticationType . setTransactionKey ( constants . transactionKey ) ;
@@ -75,9 +75,9 @@ function createVisaCheckoutTransaction(callback) {
75
75
}
76
76
77
77
if ( require . main === module ) {
78
- createVisaCheckoutTransaction ( function ( ) {
79
- console . log ( 'createVisaCheckoutTransaction call complete.' ) ;
78
+ createVisaSrcTransaction ( function ( ) {
79
+ console . log ( 'createVisaSrcTransaction call complete.' ) ;
80
80
} ) ;
81
81
}
82
82
83
- module . exports . createVisaCheckoutTransaction = createVisaCheckoutTransaction ;
83
+ module . exports . createVisaSrcTransaction = createVisaSrcTransaction ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ var ApiContracts = require('authorizenet').APIContracts;
4
4
var ApiControllers = require ( 'authorizenet' ) . APIControllers ;
5
5
var constants = require ( '../constants.js' ) ;
6
6
7
- function decryptVisaCheckoutData ( callback ) {
7
+ function decryptVisaSrcData ( callback ) {
8
8
var merchantAuthenticationType = new ApiContracts . MerchantAuthenticationType ( ) ;
9
9
merchantAuthenticationType . setName ( constants . apiLoginKey ) ;
10
10
merchantAuthenticationType . setTransactionKey ( constants . transactionKey ) ;
@@ -59,9 +59,9 @@ function decryptVisaCheckoutData(callback) {
59
59
}
60
60
61
61
if ( require . main === module ) {
62
- decryptVisaCheckoutData ( function ( ) {
63
- console . log ( 'decryptVisaCheckoutData call complete.' ) ;
62
+ decryptVisaSrcData ( function ( ) {
63
+ console . log ( 'decryptVisaSrcData call complete.' ) ;
64
64
} ) ;
65
65
}
66
66
67
- module . exports . decryptVisaCheckoutData = decryptVisaCheckoutData ;
67
+ module . exports . decryptVisaSrcData = decryptVisaSrcData ;
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
module . exports = {
4
- createVisaCheckoutTransaction : require ( './create-visa-checkout -transaction.js' ) . createVisaCheckoutTransaction ,
5
- decryptVisaCheckoutData : require ( './decrypt-visa-checkout -data.js' ) . decryptVisaCheckoutData
4
+ createVisaSrcTransaction : require ( './create-visa-src -transaction.js' ) . createVisaSrcTransaction ,
5
+ decryptVisaSrcData : require ( './decrypt-visa-src -data.js' ) . decryptVisaSrcData
6
6
} ;
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ getTransactionDetails,1
23
23
getTransactionList,1
24
24
getTransactionListForCustomer,1
25
25
getUnsettledTransactionList,1
26
- createVisaCheckoutTransaction ,0
27
- decryptVisaCheckoutData ,1
26
+ createVisaSrcTransaction ,0
27
+ decryptVisaSrcData ,1
28
28
authorizationAndCaptureContinued,1
29
29
authorizationAndCapture,1
30
30
authorizationOnlyContinued,1
@@ -42,7 +42,7 @@ deleteCustomerProfile,1
42
42
deleteCustomerShippingAddress,1
43
43
getCustomerPaymentProfile,1
44
44
getCustomerPaymentProfileList,1
45
- getCustomerProfileIds,1
45
+ getCustomerProfileIds,0
46
46
getCustomerProfile,1
47
47
getCustomerShippingAddress,1
48
48
updateCustomerPaymentProfile,1
Original file line number Diff line number Diff line change @@ -159,12 +159,12 @@ class TestRunner {
159
159
TransactionReportingModule . getUnsettledTransactionList ( validateFunctionCallback ) ;
160
160
}
161
161
162
- createVisaCheckoutTransaction ( validateFunctionCallback ) {
163
- VisaCheckoutModule . createVisaCheckoutTransaction ( validateFunctionCallback ) ;
162
+ createVisaSrcTransaction ( validateFunctionCallback ) {
163
+ VisaCheckoutModule . createVisaSrcTransaction ( validateFunctionCallback ) ;
164
164
}
165
165
166
- decryptVisaCheckoutData ( validateFunctionCallback ) {
167
- VisaCheckoutModule . decryptVisaCheckoutData ( validateFunctionCallback ) ;
166
+ decryptVisaSrcData ( validateFunctionCallback ) {
167
+ VisaCheckoutModule . decryptVisaSrcData ( validateFunctionCallback ) ;
168
168
}
169
169
170
170
authorizationOnly ( validateFunctionCallback ) {
You can’t perform that action at this time.
0 commit comments