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;
44var ApiControllers = require ( 'authorizenet' ) . APIControllers ;
55var constants = require ( '../constants.js' ) ;
66
7- function createVisaCheckoutTransaction ( callback ) {
7+ function createVisaSrcTransaction ( callback ) {
88 var merchantAuthenticationType = new ApiContracts . MerchantAuthenticationType ( ) ;
99 merchantAuthenticationType . setName ( constants . apiLoginKey ) ;
1010 merchantAuthenticationType . setTransactionKey ( constants . transactionKey ) ;
@@ -75,9 +75,9 @@ function createVisaCheckoutTransaction(callback) {
7575}
7676
7777if ( require . main === module ) {
78- createVisaCheckoutTransaction ( function ( ) {
79- console . log ( 'createVisaCheckoutTransaction call complete.' ) ;
78+ createVisaSrcTransaction ( function ( ) {
79+ console . log ( 'createVisaSrcTransaction call complete.' ) ;
8080 } ) ;
8181}
8282
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;
44var ApiControllers = require ( 'authorizenet' ) . APIControllers ;
55var constants = require ( '../constants.js' ) ;
66
7- function decryptVisaCheckoutData ( callback ) {
7+ function decryptVisaSrcData ( callback ) {
88 var merchantAuthenticationType = new ApiContracts . MerchantAuthenticationType ( ) ;
99 merchantAuthenticationType . setName ( constants . apiLoginKey ) ;
1010 merchantAuthenticationType . setTransactionKey ( constants . transactionKey ) ;
@@ -59,9 +59,9 @@ function decryptVisaCheckoutData(callback) {
5959}
6060
6161if ( require . main === module ) {
62- decryptVisaCheckoutData ( function ( ) {
63- console . log ( 'decryptVisaCheckoutData call complete.' ) ;
62+ decryptVisaSrcData ( function ( ) {
63+ console . log ( 'decryptVisaSrcData call complete.' ) ;
6464 } ) ;
6565}
6666
67- module . exports . decryptVisaCheckoutData = decryptVisaCheckoutData ;
67+ module . exports . decryptVisaSrcData = decryptVisaSrcData ;
Original file line number Diff line number Diff line change 11'use strict' ;
22
33module . 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
66} ;
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ getTransactionDetails,1
2323getTransactionList,1
2424getTransactionListForCustomer,1
2525getUnsettledTransactionList,1
26- createVisaCheckoutTransaction ,0
27- decryptVisaCheckoutData ,1
26+ createVisaSrcTransaction ,0
27+ decryptVisaSrcData ,1
2828authorizationAndCaptureContinued,1
2929authorizationAndCapture,1
3030authorizationOnlyContinued,1
@@ -42,7 +42,7 @@ deleteCustomerProfile,1
4242deleteCustomerShippingAddress,1
4343getCustomerPaymentProfile,1
4444getCustomerPaymentProfileList,1
45- getCustomerProfileIds,1
45+ getCustomerProfileIds,0
4646getCustomerProfile,1
4747getCustomerShippingAddress,1
4848updateCustomerPaymentProfile,1
Original file line number Diff line number Diff line change @@ -159,12 +159,12 @@ class TestRunner {
159159 TransactionReportingModule . getUnsettledTransactionList ( validateFunctionCallback ) ;
160160 }
161161
162- createVisaCheckoutTransaction ( validateFunctionCallback ) {
163- VisaCheckoutModule . createVisaCheckoutTransaction ( validateFunctionCallback ) ;
162+ createVisaSrcTransaction ( validateFunctionCallback ) {
163+ VisaCheckoutModule . createVisaSrcTransaction ( validateFunctionCallback ) ;
164164 }
165165
166- decryptVisaCheckoutData ( validateFunctionCallback ) {
167- VisaCheckoutModule . decryptVisaCheckoutData ( validateFunctionCallback ) ;
166+ decryptVisaSrcData ( validateFunctionCallback ) {
167+ VisaCheckoutModule . decryptVisaSrcData ( validateFunctionCallback ) ;
168168 }
169169
170170 authorizationOnly ( validateFunctionCallback ) {
You can’t perform that action at this time.
0 commit comments