Showing results for 
Search instead for 
Did you mean: 

Basic guide to test webhooks in sandbox live env?

hi all,


I've doing integration into a website and im having a issue when testing a webhook,

I switch sandbox mode to LIVE


I've setup a webhook with and did some payments through Accept hosted form, Success repose came with  Transaction ID :0

but my webhooks never hits, appreciate if someone help me with this, please?

here is my backend code(token generation

var AuthorizeDotNetloginId = (await _paymentSettingService.GetAuthorizeDotNetLoginId()).Value;
var AuthorizeDotNetTransactionKey = (await _paymentSettingService.GetAuthorizeDotNetTransactionKey()).Value;
var currency = "USD";

var authorizeDotNetScript = string.Empty;

ApiOperationBase<ANetApiRequest, ANetApiResponse>.RunEnvironment = AuthorizeNet.Environment.SANDBOX;
authorizeDotNetScript = "";

 ApiOperationBase<ANetApiRequest, ANetApiResponse>.MerchantAuthentication = new merchantAuthenticationType()
        name = AuthorizeDotNetloginId,
        ItemElementName = ItemChoiceType.transactionKey,
        Item = AuthorizeDotNetTransactionKey,




From your description (transaction id = 0), it sounds like you are still sending the transaction in test mode. In test mode, no webhooks are generated.


Test mode can be enabled at either or both the account level and the transaction level, so check your account settings and the transaction request log to find where it is being set.

Administrator Administrator

can you tell me other than sandbox dashboard, where else we set the test/live mode please?