Thanks for reply,I downloaded code from this link,https://github.com/AuthorizeNet/sample-code-csharp,Then I tried to run Samplecode.exe,There is inputed SampleCode ChargeCreditCard but nothing happened,Please see below what i executed in command promt:
SampleCode ChargeCreditCard
Code Sample Names:
ChargeCreditCard
AuthorizeCreditCard
CapturePreviouslyAuthorizedAmount
CaptureFundsAuthorizedThroughAnotherChannel
Refund
Void
DebitBankAccount
CreditBankAccount
ChargeCustomerProfile
ChargeTokenizedCard
ChargeEncryptedTrackData
ChargeTrackData
CreateAnApplePayTransaction
DecryptVisaCheckoutData
CreateVisaCheckoutTransaction
PayPalVoid
PayPalAuthorizeCapture
PayPalAuthorizeCaptureContinue
PayPalAuthorizeOnly
PayPalCredit
PayPalGetDetails
PayPalPriorAuthorizationCapture
CancelSubscription
CreateSubscription
CreateSubscriptionFromCustomerProfile
GetListOfSubscriptions
GetSubscriptionStatus
GetSubscription
GetUnsettledTransactionList
UpdateSubscription
CreateCustomerProfile
CreateCustomerPaymentProfile
CreateCustomerShippingAddress
DeleteCustomerProfile
DeleteCustomerPaymentProfile
DeleteCustomerShippingAddress
ValidateCustomerPaymentProfile
UpdateCustomerShippingAddress
UpdateCustomerProfile
UpdateCustomerPaymentProfile
GetCustomerShippingAddress
GetCustomerProfileId
GetCustomerProfile
GetHostedProfilePage
GetCustomerPaymentProfile
GetCustomerPaymentProfileList
DeleteCustomerShippingAddress
DeleteCustomerProfile
DeleteCustomerPaymentProfile
CreateCustomerShippingAddress
CreateCustomerProfileFromTransaction
GetBatchStatistics
GetSettledBatchList
GetTransactionDetails
GetTransactionList
UpdateSplitTenderGroup
Type a sample name & then press <Return> : SampleCode ChargeCreditCard
Usage : SampleCode [CodeSampleName]
Run with no parameter to select a method. Otherwise pass a method name.
Code Sample Names:
ChargeCreditCard
AuthorizeCreditCard
CapturePreviouslyAuthorizedAmount
CaptureFundsAuthorizedThroughAnotherChannel
Refund
Void
DebitBankAccount
CreditBankAccount
ChargeCustomerProfile
ChargeTokenizedCard
ChargeEncryptedTrackData
ChargeTrackData
CreateAnApplePayTransaction
DecryptVisaCheckoutData
CreateVisaCheckoutTransaction
PayPalVoid
PayPalAuthorizeCapture
PayPalAuthorizeCaptureContinue
PayPalAuthorizeOnly
PayPalCredit
PayPalGetDetails
PayPalPriorAuthorizationCapture
CancelSubscription
CreateSubscription
CreateSubscriptionFromCustomerProfile
GetListOfSubscriptions
GetSubscriptionStatus
GetSubscription
GetUnsettledTransactionList
UpdateSubscription
CreateCustomerProfile
CreateCustomerPaymentProfile
CreateCustomerShippingAddress
DeleteCustomerProfile
DeleteCustomerPaymentProfile
DeleteCustomerShippingAddress
ValidateCustomerPaymentProfile
UpdateCustomerShippingAddress
UpdateCustomerProfile
UpdateCustomerPaymentProfile
GetCustomerShippingAddress
GetCustomerProfileId
GetCustomerProfile
GetHostedProfilePage
GetCustomerPaymentProfile
GetCustomerPaymentProfileList
DeleteCustomerShippingAddress
DeleteCustomerProfile
DeleteCustomerPaymentProfile
CreateCustomerShippingAddress
CreateCustomerProfileFromTransaction
GetBatchStatistics
GetSettledBatchList
GetTransactionDetails
GetTransactionList
UpdateSplitTenderGroup
Code Sample Names:
Press <Return> to finish ...